mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 22:55:58 +01:00
c88990d2c2
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. |
||
---|---|---|
.. | ||
config.c | ||
cursor.c | ||
desktop.c | ||
ini.c | ||
input.c | ||
keyboard.c | ||
main.c | ||
meson.build | ||
output.c | ||
pointer.c | ||
rootston.ini.example | ||
tablet_tool.c | ||
touch.c | ||
wl_shell.c | ||
xcursor.c | ||
xdg_shell_v6.c | ||
xwayland.c |