diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-02 23:27:28 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-02 23:27:28 +0100 |
commit | 6e91159ccf6c1cf27b0f21572edbbcb10b47fe02 (patch) | |
tree | 33c9d7996f0ab19fc8048ee282cfd8b52378cc76 /src/Overlay.cpp | |
parent | b35de8332d866c99376adb41350ccee50bfaf33f (diff) |
Revert focus to pointer location when ui is closed
Diffstat (limited to 'src/Overlay.cpp')
-rw-r--r-- | src/Overlay.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |