From e53134ca904e47a24191ea028c019ac9728b7dad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Conzelmann?= <45296195+zephvr@users.noreply.github.com> Date: Mon, 11 Dec 2023 17:51:10 +0100 Subject: internal: fix interactions with fakefullscreen (#4113) - In a maximized window, unstuck fakefullscreen from on state - In a fakefullscreen window, going in and out of fullscreen state keep the fakefullscreen state rendered --- src/Compositor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Compositor.cpp') diff --git a/src/Compositor.cpp b/src/Compositor.cpp index f3d048a9..2618ad39 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -2257,7 +2257,7 @@ void CCompositor::setWindowFullscreen(CWindow* pWindow, bool on, eFullscreenMode g_pLayoutManager->getCurrentLayout()->fullscreenRequestForWindow(pWindow, MODE, on); - g_pXWaylandManager->setWindowFullscreen(pWindow, pWindow->m_bIsFullscreen && MODE == FULLSCREEN_FULL); + g_pXWaylandManager->setWindowFullscreen(pWindow, pWindow->shouldSendFullscreenState()); pWindow->updateDynamicRules(); updateWindowAnimatedDecorationValues(pWindow); -- cgit v1.2.3