From 6e91159ccf6c1cf27b0f21572edbbcb10b47fe02 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 2 Nov 2024 23:27:28 +0100 Subject: Revert focus to pointer location when ui is closed --- src/Overlay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Overlay.cpp b/src/Overlay.cpp index 659a18d..786128a 100644 --- a/src/Overlay.cpp +++ b/src/Overlay.cpp @@ -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); -- cgit v1.2.3