From 698538ac843e8cf2b82dea0f893a1d35204accb2 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 8 Jan 2025 17:17:48 +0100 Subject: Unset DRI_PRIME as well --- tools/gsr-global-hotkeys/keyboard_event.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/gsr-global-hotkeys') 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) -- cgit v1.2.3