From: Mikael Magnusson Date: Tue, 10 Aug 2010 21:01:11 +0000 (+0200) Subject: Fix a copypasto that broke interactive keybinds with meta and hyper keys X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=670ff8b4b854db0f6a8f5de935427d597a82daee;p=chaz%2Fopenbox Fix a copypasto that broke interactive keybinds with meta and hyper keys --- diff --git a/obt/keyboard.c b/obt/keyboard.c index f4761ed5..db327a6b 100644 --- a/obt/keyboard.c +++ b/obt/keyboard.c @@ -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: