1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-01 19:18:28 -04:00

compositor/toplevels: filter on screen for generic compositors, without

workspace distinction

fixes #2890
port 1.5
This commit is contained in:
bbedward
2026-07-21 10:26:58 -04:00
parent fa6c36ad57
commit f0bdaa7f72
+1 -1
View File
@@ -511,7 +511,7 @@ Singleton {
return MangoService.filterCurrentDisplay(toplevels, screenName); return MangoService.filterCurrentDisplay(toplevels, screenName);
if (isHyprland) if (isHyprland)
return filterHyprlandCurrentDisplaySafe(toplevels, screenName); return filterHyprlandCurrentDisplaySafe(toplevels, screenName);
return toplevels; return toplevels.filter(t => _toplevelOnScreen(t, screenName));
} }
function _screenName(screenOrName) { function _screenName(screenOrName) {