aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-01-08 17:17:48 +0100
committerdec05eba <dec05eba@protonmail.com>2025-01-08 17:17:48 +0100
commit698538ac843e8cf2b82dea0f893a1d35204accb2 (patch)
tree85c84a13dddde9a6858fa9734fdcdcc4fdb34539 /tools
parentaffa44e3872d45f661354c3f1c3ece7757f416df (diff)
Unset DRI_PRIME as well
Diffstat (limited to 'tools')
-rw-r--r--tools/gsr-global-hotkeys/keyboard_event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gsr-global-hotkeys/keyboard_event.c b/tools/gsr-global-hotkeys/keyboard_event.c
index bcfd616..74332ba 100644
--- a/tools/gsr-global-hotkeys/keyboard_event.c
+++ b/tools/gsr-global-hotkeys/keyboard_event.c
@@ -184,6 +184,7 @@ static void keyboard_event_process_input_event_data(keyboard_event *self, event_
if(event.type == EV_KEY) {
keyboard_event_process_key_state_change(self, event, extra_data, fd);
+ /* We do this conversion from keycode to keysym back to keycode to support different keyboard layouts in the X server (which Wayland also uses to support Xwayland) */
uint32_t keycode = event.code;
const uint32_t keysym = keycode_to_keysym(self, event.code);
if(keysym)