mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-07 15:19:56 +09:00
Revert minor
This commit is contained in:
@@ -195,7 +195,7 @@ static void keyboard_event_process_input_event_data(keyboard_event *self, event_
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(extra_data->gsr_ui_virtual_keyboard) {
|
if(extra_data->gsr_ui_virtual_keyboard) {
|
||||||
if(event.type == EV_KEY)
|
if(event.type == EV_KEY || event.type == EV_MSC)
|
||||||
self->check_grab_lock = false;
|
self->check_grab_lock = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -233,7 +233,7 @@ static void keyboard_event_process_input_event_data(keyboard_event *self, event_
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(extra_data->grabbed) {
|
if(extra_data->grabbed) {
|
||||||
if(prev_grabbed && !self->check_grab_lock && event.type == EV_KEY) {
|
if(prev_grabbed && !self->check_grab_lock && (event.type == EV_KEY || event.type == EV_MSC)) {
|
||||||
self->uinput_written_time_seconds = clock_get_monotonic_seconds();
|
self->uinput_written_time_seconds = clock_get_monotonic_seconds();
|
||||||
self->check_grab_lock = true;
|
self->check_grab_lock = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user