mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-23 19:54:02 -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:
1 parent
5d0a03c822
commit
5ee93a67fe
1 file changed
+1
-1
@@ -181,7 +181,7 @@ PanelWindow {
|
||||
}
|
||||
|
||||
function _updateHasFullscreenToplevel() {
|
||||
if (!CompositorService.isHyprland && !CompositorService.isNiri) {
|
||||
if (!CompositorService.isHyprland) {
|
||||
hasFullscreenToplevel = false;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user