mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-03 20:32:07 -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:
@@ -181,7 +181,7 @@ PanelWindow {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function _updateHasFullscreenToplevel() {
|
function _updateHasFullscreenToplevel() {
|
||||||
if (!CompositorService.isHyprland && !CompositorService.isNiri) {
|
if (!CompositorService.isHyprland) {
|
||||||
hasFullscreenToplevel = false;
|
hasFullscreenToplevel = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user