diff options
author | vaxerski <[email protected]> | 2022-08-21 23:24:57 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-08-21 23:24:57 +0200 |
commit | f273ebed9cab738b2f6000a73df7fad08a279c15 (patch) | |
tree | 6a0453d579ea8a41aa48c295dea4ee327aa9483b /src/events/Windows.cpp | |
parent | 3cb30e7fb09cdd0f6b41fe57173f5dab8bdc0093 (diff) | |
download | Hyprland-f273ebed9cab738b2f6000a73df7fad08a279c15.tar.gz Hyprland-f273ebed9cab738b2f6000a73df7fad08a279c15.zip |
fix another edge case for fullscreen default windowsv0.11.0beta
Diffstat (limited to 'src/events/Windows.cpp')
-rw-r--r-- | src/events/Windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 3c8d0009..a52553e2 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -107,7 +107,7 @@ void Events::listener_mapWindow(void* owner, void* data) { const auto WINDOWRULES = g_pConfigManager->getMatchingRules(PWINDOW); std::string requestedWorkspace = ""; bool workspaceSilent = false; - bool requestsFullscreen = PWINDOW->m_bWantsInitialFullscreen; + 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); for (auto& r : WINDOWRULES) { if (r.szRule.find("monitor") == 0) { |