summaryrefslogtreecommitdiff
path: root/src/layout
diff options
context:
space:
mode:
authorDarksome <dev@darkso.me>2022-07-16 12:40:02 +0300
committerDarksome <dev@darkso.me>2022-07-16 12:40:02 +0300
commite56ff0fcb05fa8ab2c4328c54f734bf46e76ef06 (patch)
treef864b79097a3888f3c0b99ad4ba844b37f36e3f5 /src/layout
parent43b7da0bb1bde522c890eba513c8b4b546c3a328 (diff)
parentb2650928eac06e3181ad07efe6ec55b2550f89b8 (diff)
Merge remote-tracking branch 'upstream/main' into mouse-wheel-cfg
Diffstat (limited to 'src/layout')
-rw-r--r--src/layout/DwindleLayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp
index 2d9eab0f..c356c8cc 100644
--- a/src/layout/DwindleLayout.cpp
+++ b/src/layout/DwindleLayout.cpp
@@ -548,8 +548,6 @@ void CHyprDwindleLayout::fullscreenRequestForWindow(CWindow* pWindow, eFullscree
pWindow->m_bIsFullscreen = on;
PWORKSPACE->m_bHasFullscreenWindow = !PWORKSPACE->m_bHasFullscreenWindow;
- g_pCompositor->updateWindowAnimatedDecorationValues(pWindow);
-
g_pEventManager->postEvent(SHyprIPCEvent("fullscreen", std::to_string((int)on)));
if (!pWindow->m_bIsFullscreen) {
@@ -594,6 +592,8 @@ void CHyprDwindleLayout::fullscreenRequestForWindow(CWindow* pWindow, eFullscree
}
}
+ g_pCompositor->updateWindowAnimatedDecorationValues(pWindow);
+
g_pXWaylandManager->setWindowSize(pWindow, pWindow->m_vRealSize.goalv());
g_pCompositor->moveWindowToTop(pWindow);