From 84f8f4d77ddf4b6c772459584234e1f8f9d5f2ce Mon Sep 17 00:00:00 2001 From: memchr <118117622+memchr@users.noreply.github.com> Date: Wed, 13 Sep 2023 14:02:21 +0000 Subject: [PATCH] keybinds: warp cursor to correct window in moveWindowOutOfGroup (#3290) --- src/managers/KeybindManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 7e2f2f3fcad..c0d06b797fe 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -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()); } }