remove mouse modkey

This commit is contained in:
Julien Danjou 2007-11-14 19:50:30 +01:00
parent d9e5346048
commit e43df90214
3 changed files with 0 additions and 8 deletions

View File

@ -115,7 +115,6 @@ rules
mouse mouse
{ {
modkey = "Mod4"
# For click on tag # For click on tag
tag tag
{ {

View File

@ -321,7 +321,6 @@ parse_config(const char *confpatharg, awesome_config *awesomeconf)
}; };
static cfg_opt_t mouse_opts[] = static cfg_opt_t mouse_opts[] =
{ {
CFG_STR((char *) "modkey", (char *) "Mod4", CFGF_NONE),
CFG_SEC((char *) "tag", mouse_tag_opts, CFGF_MULTI), CFG_SEC((char *) "tag", mouse_tag_opts, CFGF_MULTI),
CFG_SEC((char *) "layout", mouse_generic_opts, CFGF_MULTI), CFG_SEC((char *) "layout", mouse_generic_opts, CFGF_MULTI),
CFG_SEC((char *) "title", mouse_generic_opts, CFGF_MULTI), CFG_SEC((char *) "title", mouse_generic_opts, CFGF_MULTI),
@ -505,10 +504,6 @@ parse_config(const char *confpatharg, awesome_config *awesomeconf)
awesomeconf->tags[0].selected = True; awesomeconf->tags[0].selected = True;
awesomeconf->tags[0].was_selected = True; awesomeconf->tags[0].was_selected = True;
/* Mouse */
if(!(awesomeconf->modkey = key_mask_lookup(cfg_getstr(cfg_mouse, "modkey"))))
awesomeconf->modkey = Mod4Mask;
/* Mouse: tags click bindings */ /* Mouse: tags click bindings */
awesomeconf->buttons.tag = parse_mouse_bindings(cfg_mouse, "tag", False); awesomeconf->buttons.tag = parse_mouse_bindings(cfg_mouse, "tag", False);

View File

@ -182,8 +182,6 @@ struct awesome_config
Button *root; Button *root;
Button *client; Button *client;
} buttons; } buttons;
/** Default modkey */
KeySym modkey;
/** Numlock mask */ /** Numlock mask */
unsigned int numlockmask; unsigned int numlockmask;
/** Border size */ /** Border size */