mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 09:09:48 +01:00
refactor: fix missed middle() call in CKeybindManager
This commit is contained in:
parent
99fac59938
commit
5a6d0e9963
1 changed files with 1 additions and 1 deletions
|
@ -1158,7 +1158,7 @@ void CKeybindManager::moveActiveTo(std::string args) {
|
|||
const auto PWINDOWTOCHANGETO = g_pCompositor->getWindowInDirection(PLASTWINDOW, arg);
|
||||
if (PWINDOWTOCHANGETO) {
|
||||
g_pLayoutManager->getCurrentLayout()->moveWindowTo(PLASTWINDOW, args);
|
||||
g_pCompositor->warpCursorTo(PLASTWINDOW->m_vRealPosition.goalv() + PLASTWINDOW->m_vRealSize.goalv() / 2.0);
|
||||
g_pCompositor->warpCursorTo(PLASTWINDOW->middle());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue