aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormemchr <[email protected]>2023-09-13 14:02:21 +0000
committerGitHub <[email protected]>2023-09-13 15:02:21 +0100
commit84f8f4d77ddf4b6c772459584234e1f8f9d5f2ce (patch)
treec09f7719660077e3026fc3be6012b0fe586f87a9
parent2ad429dfe0687b34c1a4d950e7715f0c8550bed5 (diff)
downloadHyprland-84f8f4d77ddf4b6c772459584234e1f8f9d5f2ce.tar.gz
Hyprland-84f8f4d77ddf4b6c772459584234e1f8f9d5f2ce.zip
keybinds: warp cursor to correct window in moveWindowOutOfGroup (#3290)
-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());
}
}