summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/osd/Osd.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/osd/Osd.qml b/modules/osd/Osd.qml
index 18c53ee..8f93ae9 100644
--- a/modules/osd/Osd.qml
+++ b/modules/osd/Osd.qml
@@ -55,7 +55,7 @@ Variants {
target: Drawers
function onPosChanged(screen: ShellScreen, x: int, y: int): void {
- if (screen === root.modelData && x > screen.width / 2 && y > (screen.height - root.winHeight) / 2 && y < (screen.height + root.winHeight) / 2)
+ if (screen === root.modelData && x > screen.width - BorderConfig.thickness && y > (screen.height - root.winHeight) / 2 && y < (screen.height + root.winHeight) / 2)
root.show();
}
}