From f794c91293ca4249fe0883bad4371a4e9e8d4344 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 30 Mar 2022 20:16:23 +0200 Subject: windows on top of fullscreen, lastmonitor fixes --- src/managers/KeybindManager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/managers/KeybindManager.cpp') 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) { -- cgit v1.2.3