1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-04 04:42:05 -04:00

fix(bar): exclude niri from fullscreen toplevel detection (#2091)

Niri already renders fullscreen windows above the top layer-shell layer
(see render_above_top_layer() in niri's scrolling.rs). Aside from
redundancy, this check also hides the bar for windowed-fullscreen
windows (aka fake fullscreen), since the Wayland protocol reports
identical state for both.
This commit is contained in:
Connor Welsh
2026-03-27 08:57:18 -04:00
committed by GitHub
parent 5d0a03c822
commit 5ee93a67fe

View File

@@ -181,7 +181,7 @@ PanelWindow {
}
function _updateHasFullscreenToplevel() {
if (!CompositorService.isHyprland && !CompositorService.isNiri) {
if (!CompositorService.isHyprland) {
hasFullscreenToplevel = false;
return;
}