aboutsummaryrefslogtreecommitdiff
path: root/rootston/desktop.c
diff options
context:
space:
mode:
authorMarkus Ongyerth <ongy@ongy.net>2017-11-07 12:32:55 +0100
committerMarkus Ongyerth <ongy@ongy.net>2017-11-07 12:48:44 +0100
commitc88990d2c2c66835f9098dc642b6d679529a84a8 (patch)
treed45fd5b156f11ac4960e9a8ae3a0025723d12d44 /rootston/desktop.c
parent63a46c6550cd43c528148391a8cbe20112361166 (diff)
fix the keybind handling in rootston.
As mentioned in https://github.com/swaywm/wlroots/issues/393 keybinds did't trigger / were checked with "odd" keys and modifiers. This commit sends the keycode through two paths, one to get the keycode and modifiers *after* xkb handles them, a secondary path to get a "raw" keysym without modifiers and then add the modifiers rootston knows about. This will result in the `[Alt]+[Shift]+2` combination I mention earlier going through the keybind detection twice. 1) `[Alt]+[at]` 2) `[Alt]+[Shift]+2` When either combination is found, the appropriate keybind is executed. The xkb handled version will be prefered over the "raw" version.
Diffstat (limited to 'rootston/desktop.c')
0 files changed, 0 insertions, 0 deletions