diff options
| author | Aditya Singh <1adityasingh@proton.me> | 2025-12-28 01:57:59 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-27 21:27:59 +0100 |
| commit | e5d20b56bcad78df42c9060a5d330274b0a6e510 (patch) | |
| tree | 8c7829bbe0130a0cb03674b286e21fb09aa8d8e5 /src/managers/KeybindManager.cpp | |
| parent | 5faa66d297752ab0d919bb5719fa0949292fe720 (diff) | |
keybinds: simulate mouse movement after bringing active window to top (#12703)
Fixes https://github.com/hyprwm/Hyprland/discussions/12702
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 2bfd2db6..a709b0ca 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -2793,6 +2793,8 @@ SDispatchResult CKeybindManager::bringActiveToTop(std::string args) { if (Desktop::focusState()->window() && Desktop::focusState()->window()->m_isFloating) g_pCompositor->changeWindowZOrder(Desktop::focusState()->window(), true); + g_pInputManager->simulateMouseMovement(); + return {}; } |
