mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-06 23:06:24 +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
|
// TODO: This breaks global hotkeys
|
||||||
//XGrabKeyboard(display, window->get_system_handle(), True, GrabModeAsync, GrabModeAsync, CurrentTime);
|
//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);
|
XFlush(display);
|
||||||
|
|
||||||
//window->set_fullscreen(true);
|
//window->set_fullscreen(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user