Skip to content

Commit

Permalink
keybinds: warp cursor to correct window in moveWindowOutOfGroup (#3290)
Browse files Browse the repository at this point in the history
  • Loading branch information
memchr authored Sep 13, 2023
1 parent 2ad429d commit 84f8f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/KeybindManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

Expand Down

0 comments on commit 84f8f4d

Please sign in to comment.