summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorMichael Cardell Widerkrantz <mc@hack.org>2011-03-28 15:02:36 +0200
committerMichael Cardell Widerkrantz <mc@hack.org>2011-03-28 15:18:38 +0200
commitb41b1c184ad1c51435c70a1ad5e05a48c14afe89 (patch)
treeec2f744df3d86e31bead44deddafac8e7cf68ac4 /config.h
parent8722badc3d883a04433c7782e5b2d23063edd525 (diff)
downloadmcwm-b41b1c184ad1c51435c70a1ad5e05a48c14afe89.zip
Removed USERKEY_MOD and KEY_ALT special handling. Now asks X server
for keycodes with MODKEY mask instead and checks for those. Also stops tabbing around not only when MODKEY keys are released, but also when another MODKEY command is pressed.
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/config.h b/config.h
index 66be029..c21ffc6 100644
--- a/config.h
+++ b/config.h
@@ -9,12 +9,7 @@
/*
* Use this modifier combined with other keys to control wm from
* keyboard. Default is Mod4, which on my keyboard is the Alt key but
- * is usually the Windows key on more normal keyboard layout.
- *
- * NOTA BENE! Also remember to define the key that generates this
- * modifier as USERKEY_MOD below, otherwise the MODKEY + Tab function
- * won't work properly. This is a bit of a kluge, I know, and will be
- * fixed.
+ * is usually the Windows key on more normal keyboard layouts.
*/
#define MODKEY XCB_MOD_MASK_4
@@ -81,4 +76,3 @@
#define USERKEY_BOTLEFT XK_B
#define USERKEY_BOTRIGHT XK_N
#define USERKEY_DELETE XK_End
-#define USERKEY_MOD XK_Alt_L