From e43df90214be83801ebbac72268fe16306c72aef Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 14 Nov 2007 19:50:30 +0100 Subject: [PATCH] remove mouse modkey --- awesomerc | 1 - config.c | 5 ----- config.h | 2 -- 3 files changed, 8 deletions(-) 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 */