3
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2026-02-22 02:55:26 +00:00

keybinds: warp cursor to correct window in moveWindowOutOfGroup (#3290)

This commit is contained in:
memchr
2023-09-13 14:02:21 +00:00
committed by GitHub
parent 2ad429dfe0
commit 84f8f4d77d

View File

@ -1996,7 +1996,7 @@ void CKeybindManager::moveWindowOutOfGroup(CWindow* pWindow, const std::string&
g_pCompositor->warpCursorTo(pWindow->middle());
} else {
g_pCompositor->focusWindow(PWINDOWPREV);
g_pCompositor->warpCursorTo(pWindow->middle());
g_pCompositor->warpCursorTo(PWINDOWPREV->middle());
}
}