diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-11-27 21:09:54 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-11-27 21:10:01 +0000 |
| commit | f9742ab50156468c4a62dcc3895233b7d9c04e2b (patch) | |
| tree | 9241fbdfe9b939806d7c18d6e54e449826e5ef76 | |
| parent | e42185b83dda00378ace2bf534a04de5a639d009 (diff) | |
keybinds: restore pointer warp on switch
ref https://github.com/hyprwm/Hyprland/pull/12033#pullrequestreview-3516413924
| -rw-r--r-- | src/managers/KeybindManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 2fd7ba99..4423bbdb 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -396,7 +396,7 @@ void CKeybindManager::switchToWindow(PHLWINDOW PWINDOWTOCHANGETO, bool preserveF // remove constraints g_pInputManager->unconstrainMouse(); - if (PLASTWINDOW && PLASTWINDOW->m_workspace == PWINDOWTOCHANGETO->m_workspace) + if (PLASTWINDOW && PLASTWINDOW->m_workspace == PWINDOWTOCHANGETO->m_workspace && PLASTWINDOW->isFullscreen()) Desktop::focusState()->fullWindowFocus(PWINDOWTOCHANGETO, nullptr, preserveFocusHistory, forceFSCycle); else { updateRelativeCursorCoords(); |
