1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-03 20:32:07 -04:00

fix: show bar when scrolling away from fullscreen window (#2089)

In niri there can be multiple fullscreen windows in a workspace
This commit is contained in:
Kangheng Liu
2026-03-27 08:56:35 -04:00
committed by GitHub
parent 293c2a0035
commit 5d0a03c822

View File

@@ -189,6 +189,9 @@ PanelWindow {
const filtered = CompositorService.filterCurrentWorkspace(CompositorService.sortedToplevels, screenName);
for (let i = 0; i < filtered.length; i++) {
if (filtered[i]?.fullscreen) {
// On niri, fullscreen windows in inactive columns should not hide the bar
if (CompositorService.isNiri && !filtered[i]?.activated)
continue;
hasFullscreenToplevel = true;
return;
}