This commit is contained in:
Julien Danjou 2007-09-10 12:02:45 +02:00
parent e3c0478434
commit 604ab3e702
1 changed files with 22 additions and 18 deletions

View File

@ -40,27 +40,31 @@ typedef struct
} KeyMod; } KeyMod;
/** List of keyname and corresponding X11 mask codes */ /** List of keyname and corresponding X11 mask codes */
static const KeyMod KeyModList[] = { {"Shift", ShiftMask}, static const KeyMod KeyModList[] =
{"Lock", LockMask}, {
{"Control", ControlMask}, {"Shift", ShiftMask},
{"Mod1", Mod1Mask}, {"Lock", LockMask},
{"Mod2", Mod2Mask}, {"Control", ControlMask},
{"Mod3", Mod3Mask}, {"Mod1", Mod1Mask},
{"Mod4", Mod4Mask}, {"Mod2", Mod2Mask},
{"Mod5", Mod5Mask}, {"Mod3", Mod3Mask},
{"None", 0} {"Mod4", Mod4Mask},
{"Mod5", Mod5Mask},
{"None", 0}
}; };
/** List of available layouts and link between name and functions */ /** List of available layouts and link between name and functions */
static const NameFuncLink LayoutsList[] = { {"tile", tile}, static const NameFuncLink LayoutsList[] =
{"tileleft", tileleft}, {
{"floating", floating}, {"tile", tile},
{"grid", grid}, {"tileleft", tileleft},
{"spiral", spiral}, {"floating", floating},
{"dwindle", dwindle}, {"grid", grid},
{"bstack", bstack}, {"spiral", spiral},
{"bstackportrait", bstackportrait}, {"dwindle", dwindle},
{NULL, NULL} {"bstack", bstack},
{"bstackportrait", bstackportrait},
{NULL, NULL}
}; };
/** List of available UI bindable callbacks and functions */ /** List of available UI bindable callbacks and functions */