mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-03-31 09:17:04 +09:00
Revert focus to pointer location when ui is closed
This commit is contained in:
@@ -527,7 +527,7 @@ namespace gsr {
|
||||
// TODO: This breaks global hotkeys
|
||||
//XGrabKeyboard(display, window->get_system_handle(), True, GrabModeAsync, GrabModeAsync, CurrentTime);
|
||||
|
||||
XSetInputFocus(display, window->get_system_handle(), RevertToParent, CurrentTime);
|
||||
XSetInputFocus(display, window->get_system_handle(), RevertToPointerRoot, CurrentTime);
|
||||
XFlush(display);
|
||||
|
||||
//window->set_fullscreen(true);
|
||||
|
||||
Reference in New Issue
Block a user