Commit graph

12 commits

Author SHA1 Message Date
Dana Jansens
8a51893e8b Revert "fix for xkb weirdness, to fix a bug introduced in 3.4.3, where releasing the super mod key would not end interactive actions."
This reverts commit 47e7aa82dc.

This is an XKB problem, and it needs to be properly resolved with XKB functions
2008-01-11 11:21:00 -05:00
Dana Jansens
47e7aa82dc fix for xkb weirdness, to fix a bug introduced in 3.4.3, where releasing the super mod key would not end interactive actions.
Somehow Super_L is being bound to Mod4Mask without being in the modifier table.  So we're doing some workarounds to find _all_ the keycodes for Super_L and use any of them to count as Mod4Mask.
2007-07-26 10:48:06 +02:00
Dana Jansens
4cf8fd5c23 if Key_R is set to multiple mods, then it'll use them all now. but Key_L still takes precidence if they are different 2007-06-07 04:55:21 +00:00
Dana Jansens
a97f6faba5 rather than making you hit both Key_L and Key_R if they are bound to different things, make Key_L take precidence. But if only Key_R is bound then use that. If Key_L is bound to multiple masks it'll use them all, but that won't work for Key_R right now. 2007-06-07 04:48:53 +00:00
Dana Jansens
ca0c927201 ignore control_l/r shift_l/r and caps_lock bindings. Control, Shift and NumLock are hardcoded to the modmasks for them. 2007-06-05 18:48:14 +00:00
Dana Jansens
b1c209c174 fix for capslock bound to other modifiers. i think this is okay?
strip LockMask instead of what caps_lock is bound to.
2007-06-05 18:37:39 +00:00
Dana Jansens
36ddd0c408 dont use XKeysymToKeycode because valgrind says it is doing bad things, and we have all the data we need anyways 2007-05-09 20:56:37 +00:00
Dana Jansens
a7637df11b remove debug print 2007-05-09 20:28:41 +00:00
Dana Jansens
481e681121 fix using uninit'd memory. don't use 0 keycode 2007-05-09 20:27:05 +00:00
Dana Jansens
1e4215c5c6 merge r6176-6182 from 3.4-working 2007-05-08 21:57:36 +00:00
Dana Jansens
88d00a0120 fix the new modifier key code.. 2007-05-04 01:35:39 +00:00
Dana Jansens
7e946f68d9 make the modifier key code a lot better...
1) it can handle more user cases.
2) it can handle binding more modifier keys with their keysym names like Hyper and Super. W is a shortcut for Super, cuz the windows key is generally bound to it.
3) if you change your keymap bindings and reconfigure openbox it will learn your changes.
and i dunno.. its just nice and stuff now.. you can actually read it I think..
2007-05-04 01:10:03 +00:00