diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-28 17:49:33 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-28 17:49:40 +0100 |
| commit | 1f4eab176ef8978e022ea9367f9b7fb61273f163 (patch) | |
| tree | 5b03bfdd54e5c97ae68c9cdbeafe54e43df316bd /src/layout/MasterLayout.cpp | |
| parent | 6d7dc70f663891ef39dcfb8ba8e5ff643b4d9ed8 (diff) | |
layout: don't discard fullscreen on new tiling
Diffstat (limited to 'src/layout/MasterLayout.cpp')
| -rw-r--r-- | src/layout/MasterLayout.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp index c1dd37dc..624ded2a 100644 --- a/src/layout/MasterLayout.cpp +++ b/src/layout/MasterLayout.cpp @@ -167,13 +167,6 @@ void CHyprMasterLayout::onWindowCreatedTiling(CWindow* pWindow, eDirection direc } } - const auto PWORKSPACE = g_pCompositor->getWorkspaceByID(pWindow->m_iWorkspaceID); - - if (PWORKSPACE->m_bHasFullscreenWindow) { - const auto PFULLWINDOW = g_pCompositor->getFullscreenWindowOnWorkspace(PWORKSPACE->m_iID); - g_pCompositor->setWindowFullscreen(PFULLWINDOW, false, FULLSCREEN_FULL); - } - // recalc recalculateMonitor(pWindow->m_iMonitorID); } |
