mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 21:27:20 +03:00
keybinds: warp cursor to correct window in moveWindowOutOfGroup (#3290)
This commit is contained in:
parent
2ad429dfe0
commit
84f8f4d77d
@ -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…
Reference in New Issue
Block a user