summaryrefslogtreecommitdiff
path: root/src/events/Windows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/Windows.cpp')
-rw-r--r--src/events/Windows.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp
index 84582537..a77c298f 100644
--- a/src/events/Windows.cpp
+++ b/src/events/Windows.cpp
@@ -473,6 +473,8 @@ void Events::listener_mapWindow(void* owner, void* data) {
PWINDOW->m_bNoInitialFocus = true;
else if (*PNEWTAKESOVERFS == 2)
g_pCompositor->setWindowFullscreen(g_pCompositor->getFullscreenWindowOnWorkspace(PWORKSPACE->m_iID), false, FULLSCREEN_INVALID);
+ else if (PWORKSPACE->m_efFullscreenMode == FULLSCREEN_MAXIMIZED)
+ requestsMaximize = true;
else
requestsFullscreen = true;
}