]> Dogcows Code - chaz/openbox/commitdiff
Fix a copypasto that broke interactive keybinds with meta and hyper keys
authorMikael Magnusson <mikachu@gmail.com>
Tue, 10 Aug 2010 21:01:11 +0000 (23:01 +0200)
committerMikael Magnusson <mikachu@gmail.com>
Thu, 16 Sep 2010 15:24:12 +0000 (17:24 +0200)
obt/keyboard.c

index f4761ed5e7b43757b812eca1b56e30173c0ed9ee..db327a6b46fc3c6e1e96c7c619c049653e57426e 100644 (file)
@@ -208,9 +208,9 @@ ObtModkeysKey obt_keyboard_keyevent_to_modkey(XEvent *e)
     case XK_Super_L:
     case XK_Super_R: return OBT_KEYBOARD_MODKEY_SUPER;
     case XK_Hyper_L:
-    case XK_Hyper_R: return OBT_KEYBOARD_MODKEY_SUPER;
+    case XK_Hyper_R: return OBT_KEYBOARD_MODKEY_HYPER;
     case XK_Meta_L:
-    case XK_Meta_R: return OBT_KEYBOARD_MODKEY_SUPER;
+    case XK_Meta_R: return OBT_KEYBOARD_MODKEY_META;
     case XK_Control_L:
     case XK_Control_R: return OBT_KEYBOARD_MODKEY_CONTROL;
     case XK_Shift_L:
This page took 0.025299 seconds and 4 git commands to generate.