mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 23:29:48 +01:00
Fix apps requesting fullscreen (#2099)
Otherwise e446db02f6
breaks fullscreening of image previews for nheko/telegram-desktop/...
This commit is contained in:
parent
e446db02f6
commit
6225591dbd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue