diff --git a/awesomerc b/awesomerc index 69c8e72a..2ccb4018 100644 --- a/awesomerc +++ b/awesomerc @@ -115,7 +115,6 @@ rules mouse { - modkey = "Mod4" # For click on tag tag { diff --git a/config.c b/config.c index c130066c..9958e35d 100644 --- a/config.c +++ b/config.c @@ -321,7 +321,6 @@ parse_config(const char *confpatharg, awesome_config *awesomeconf) }; 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 *) "layout", 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].was_selected = True; - /* Mouse */ - if(!(awesomeconf->modkey = key_mask_lookup(cfg_getstr(cfg_mouse, "modkey")))) - awesomeconf->modkey = Mod4Mask; - /* Mouse: tags click bindings */ awesomeconf->buttons.tag = parse_mouse_bindings(cfg_mouse, "tag", False); diff --git a/config.h b/config.h index 70c6d584..6a32e579 100644 --- a/config.h +++ b/config.h @@ -182,8 +182,6 @@ struct awesome_config Button *root; Button *client; } buttons; - /** Default modkey */ - KeySym modkey; /** Numlock mask */ unsigned int numlockmask; /** Border size */