made logout menu only open on current monitor
This commit is contained in:
@@ -107,8 +107,10 @@ Container {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onLogoutMenu() {
|
function onLogoutMenu() {
|
||||||
root.overriden = true;
|
if (root.monitor.focused == true) {
|
||||||
root.logout = true;
|
root.overriden = true;
|
||||||
|
root.logout = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
target: IpcManager
|
target: IpcManager
|
||||||
|
|||||||
Reference in New Issue
Block a user