mirror of
https://github.com/hyprwm/Hyprland
synced 2025-02-18 13:24:05 +01:00
keybinds: warp cursor to correct window in moveWindowOutOfGroup (#3290)
This commit is contained in:
parent
2ad429dfe0
commit
84f8f4d77d
1 changed files with 1 additions and 1 deletions
|
@ -1996,7 +1996,7 @@ void CKeybindManager::moveWindowOutOfGroup(CWindow* pWindow, const std::string&
|
||||||
g_pCompositor->warpCursorTo(pWindow->middle());
|
g_pCompositor->warpCursorTo(pWindow->middle());
|
||||||
} else {
|
} else {
|
||||||
g_pCompositor->focusWindow(PWINDOWPREV);
|
g_pCompositor->focusWindow(PWINDOWPREV);
|
||||||
g_pCompositor->warpCursorTo(pWindow->middle());
|
g_pCompositor->warpCursorTo(PWINDOWPREV->middle());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue