1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-10 14:29:36 -04:00

system tray: fix parent screen binding

This commit is contained in:
bbedward
2026-05-08 22:59:56 -04:00
parent 80c853f16c
commit 10872b5fc8

View File

@@ -1362,16 +1362,6 @@ BasePill {
axis = axisObj;
menuHandle = item?.menu;
if (parentScreen) {
for (var i = 0; i < Quickshell.screens.length; i++) {
const s = Quickshell.screens[i];
if (s === parentScreen) {
menuWindow.screen = s;
break;
}
}
}
showMenu = true;
}
@@ -1448,6 +1438,7 @@ BasePill {
WlrLayershell.namespace: "dms:tray-menu-window"
visible: menuRoot.showMenu && (menuRoot.trayItem?.hasMenu ?? false)
screen: menuRoot.parentScreen
WlrLayershell.layer: WlrLayershell.Top
WlrLayershell.exclusiveZone: -1
WlrLayershell.keyboardFocus: {