From 5ee93a67feef27845a83205fd8a01485405c9c39 Mon Sep 17 00:00:00 2001 From: Connor Welsh Date: Fri, 27 Mar 2026 08:57:18 -0400 Subject: [PATCH] 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. --- quickshell/Modules/DankBar/DankBarWindow.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickshell/Modules/DankBar/DankBarWindow.qml b/quickshell/Modules/DankBar/DankBarWindow.qml index be47f4a5..f95e5b68 100644 --- a/quickshell/Modules/DankBar/DankBarWindow.qml +++ b/quickshell/Modules/DankBar/DankBarWindow.qml @@ -181,7 +181,7 @@ PanelWindow { } function _updateHasFullscreenToplevel() { - if (!CompositorService.isHyprland && !CompositorService.isNiri) { + if (!CompositorService.isHyprland) { hasFullscreenToplevel = false; return; }