summaryrefslogtreecommitdiff
path: root/src/layout/DwindleLayout.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-15 19:33:09 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-15 19:33:09 +0200
commit90ebeaa881453c2870b6847b3b533363a293f5ba (patch)
tree7cdf7796972ede65f4015a98899d7df5f3314434 /src/layout/DwindleLayout.cpp
parent144185681125df1567ada00c301e9ce242909f27 (diff)
fixed fullscreen opacity on fullscreen 1
Diffstat (limited to 'src/layout/DwindleLayout.cpp')
-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);