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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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());
}
}