From 6225591dbd77919beafc632e0795c6296e1da876 Mon Sep 17 00:00:00 2001 From: q234rty Date: Wed, 19 Apr 2023 20:26:27 +0800 Subject: [PATCH] Fix apps requesting fullscreen (#2099) Otherwise e446db02f69ba7f3b3eea42a25f5de2c333bf0cd breaks fullscreening of image previews for nheko/telegram-desktop/... --- src/events/Windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index b8dcb0745..221c3e63b 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -114,7 +114,7 @@ void Events::listener_mapWindow(void* owner, void* data) { bool requestsFullscreen = PWINDOW->m_bWantsInitialFullscreen || (!PWINDOW->m_bIsX11 && PWINDOW->m_uSurface.xdg->role == WLR_XDG_SURFACE_ROLE_TOPLEVEL && PWINDOW->m_uSurface.xdg->toplevel->requested.fullscreen) || (PWINDOW->m_bIsX11 && PWINDOW->m_uSurface.xwayland->fullscreen); - bool requestsFakeFullscreen = requestsFullscreen; + bool requestsFakeFullscreen = false; bool requestsMaximize = false; bool shouldFocus = true; bool workspaceSpecial = false;