mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-07 15:19:56 +09:00
Global hotkeys: only grab devices after all keys have been released
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user