made logout menu only open on current monitor

This commit is contained in:
2026-08-19 10:50:23 +01:00
parent 67fd900a27
commit 3ed0bb20f2

View File

@@ -107,9 +107,11 @@ Container {
} }
function onLogoutMenu() { function onLogoutMenu() {
if (root.monitor.focused == true) {
root.overriden = true; root.overriden = true;
root.logout = true; root.logout = true;
} }
}
target: IpcManager target: IpcManager
} }