diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-30 20:16:23 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-30 20:16:23 +0200 |
| commit | f794c91293ca4249fe0883bad4371a4e9e8d4344 (patch) | |
| tree | dcf11d4415b95ecd5a896e967115e50e63a5e32a /src/managers/KeybindManager.cpp | |
| parent | e49657f0f927abbe9ef9b5f9b5714ca1adeec99d (diff) | |
windows on top of fullscreen, lastmonitor fixes
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index a421e6eb..22c880b4 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -178,6 +178,12 @@ void CKeybindManager::fullscreenActive(std::string args) { g_pLayoutManager->getCurrentLayout()->fullscreenRequestForWindow(PWINDOW); g_pXWaylandManager->setWindowFullscreen(PWINDOW, PWINDOW->m_bIsFullscreen); + + // make all windows on the same workspace under the fullscreen window + for (auto& w : g_pCompositor->m_lWindows) { + if (w.m_iWorkspaceID == PWINDOW->m_iWorkspaceID) + w.m_bCreatedOverFullscreen = false; + } } void CKeybindManager::moveActiveToWorkspace(std::string args) { |
