summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.cpp
diff options
context:
space:
mode:
authormemchr <118117622+memchr@users.noreply.github.com>2023-09-13 14:02:21 +0000
committerGitHub <noreply@github.com>2023-09-13 15:02:21 +0100
commit84f8f4d77ddf4b6c772459584234e1f8f9d5f2ce (patch)
treec09f7719660077e3026fc3be6012b0fe586f87a9 /src/managers/KeybindManager.cpp
parent2ad429dfe0687b34c1a4d950e7715f0c8550bed5 (diff)
keybinds: warp cursor to correct window in moveWindowOutOfGroup (#3290)
Diffstat (limited to 'src/managers/KeybindManager.cpp')
-rw-r--r--src/managers/KeybindManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp
index 7e2f2f3f..c0d06b79 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());
}
}