diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-12-22 17:53:28 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-12-22 17:53:28 +0100 |
| commit | abffe75088e2d776e14e5dbd726a835fa157df9a (patch) | |
| tree | 7ae3a93e0705774848c3d4a22474191323109ca1 /src/desktop/state/FocusState.cpp | |
| parent | 60efbf3f63bec3100477ea9ba6cd634e35d5aeaa (diff) | |
desktop/window: improve fullscreen handling for grouped windows
fixes #12700
Diffstat (limited to 'src/desktop/state/FocusState.cpp')
| -rw-r--r-- | src/desktop/state/FocusState.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/desktop/state/FocusState.cpp b/src/desktop/state/FocusState.cpp index e6257690..2c1158be 100644 --- a/src/desktop/state/FocusState.cpp +++ b/src/desktop/state/FocusState.cpp @@ -289,3 +289,8 @@ PHLWINDOW CFocusState::window() { PHLMONITOR CFocusState::monitor() { return m_focusMonitor.lock(); } + +void CFocusState::resetWindowFocus() { + m_focusWindow.reset(); + m_focusSurface.reset(); +} |
