mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-26 12:29:49 +01:00
parent
409ff027f8
commit
b3a86952cf
1 changed files with 1 additions and 0 deletions
|
@ -981,6 +981,7 @@ void CKeybindManager::moveFocusTo(std::string args) {
|
|||
g_pCompositor->focusWindow(PWINDOWTOCHANGETO);
|
||||
Vector2D middle = PWINDOWTOCHANGETO->m_vRealPosition.goalv() + PWINDOWTOCHANGETO->m_vRealSize.goalv() / 2.f;
|
||||
g_pCompositor->warpCursorTo(middle);
|
||||
g_pInputManager->simulateMouseMovement();
|
||||
|
||||
if (PLASTWINDOW->m_iMonitorID != PWINDOWTOCHANGETO->m_iMonitorID) {
|
||||
// event
|
||||
|
|
Loading…
Reference in a new issue