mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 20:45:59 +01:00
Focus: warp cursor on movewindow
This commit is contained in:
parent
928de33447
commit
7a514f41a3
1 changed files with 2 additions and 0 deletions
|
@ -1274,6 +1274,8 @@ void CKeybindManager::moveActiveTo(std::string args) {
|
|||
return;
|
||||
|
||||
g_pLayoutManager->getCurrentLayout()->switchWindows(PLASTWINDOW, PWINDOWTOCHANGETO);
|
||||
|
||||
g_pCompositor->warpCursorTo(PLASTWINDOW->m_vRealPosition.vec() + PLASTWINDOW->m_vRealSize.vec() / 2.0);
|
||||
}
|
||||
|
||||
void CKeybindManager::toggleGroup(std::string args) {
|
||||
|
|
Loading…
Reference in a new issue