diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-12-28 09:30:11 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-12-28 09:30:11 +0100 |
commit | 81e2fab47f4ec9423fd92b8e5fd013e83a080e2b (patch) | |
tree | 6bac9101d880e5f7843febdb3321f6b76d5fe28b /tools/gsr-global-hotkeys/keyboard_event.h | |
parent | 49584e3dfc7f9c0f19c9683d80ebe17c4e4d7623 (diff) |
Global hotkeys: only grab devices after all keys have been released
Diffstat (limited to 'tools/gsr-global-hotkeys/keyboard_event.h')
-rw-r--r-- | tools/gsr-global-hotkeys/keyboard_event.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gsr-global-hotkeys/keyboard_event.h b/tools/gsr-global-hotkeys/keyboard_event.h index 67251fc..d12b684 100644 --- a/tools/gsr-global-hotkeys/keyboard_event.h +++ b/tools/gsr-global-hotkeys/keyboard_event.h @@ -32,6 +32,8 @@ typedef enum { typedef struct { int dev_input_id; bool grabbed; + unsigned char *key_states; + int num_keys_pressed; } event_extra_data; typedef struct { @@ -43,8 +45,6 @@ typedef struct { int hotplug_event_index; int uinput_fd; bool stdout_failed; - int32_t repeat_key_to_ignore; - bool has_received_key_event; hotplug_event hotplug_ev; |