keybinds: simulate mouse movement after bringing active window to top (#12703)

Fixes https://github.com/hyprwm/Hyprland/discussions/12702
This commit is contained in:
Aditya Singh 2025-12-28 01:57:59 +05:30 committed by GitHub
parent 5faa66d297
commit e5d20b56bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 66 additions and 0 deletions

View file

@ -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 {};
}