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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user