]> icculus.org git repositories - dana/openbox.git/commit
i learnt what xkb does with the state.
authorDana Jansens <danakj@orodu.net>
Wed, 10 Feb 2010 02:03:01 +0000 (21:03 -0500)
committerDana Jansens <danakj@orodu.net>
Wed, 10 Feb 2010 02:08:33 +0000 (21:08 -0500)
commit82f1b72d1314246b252c53cd45011a232db59360
tree5ef79468b362e624ea8dc2b741175e5fb8d2b9d3
parente9070fe7da03effb198c0bbae8293f22fdf36085
i learnt what xkb does with the state.

use the state from keyrelease events directly, rather than query the state (which is not as accurate!)

the xkb state (as opposed to the normally sent compat state) contains extra info like the keyboard group, the pointer buttons, etc.  so we can just strip that stuff out. (See section 2.2.2 of the XKB proto document)
openbox/event.c