From 1576ffee49c4b034f28646d248426e452a50d40f Mon Sep 17 00:00:00 2001 From: Bumsik Kim Date: Wed, 9 May 2018 08:32:07 -0400 Subject: [PATCH] QML: Show window always on the right --- main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.qml b/main.qml index 8899f0a..3541050 100644 --- a/main.qml +++ b/main.qml @@ -320,7 +320,7 @@ ApplicationWindow { var height = backend.primaryDisplayHeight; var x_mid = width / 2; var y_mid = height / 2; - window.x = (backend.cursor_x > x_mid)? width - window.width : 0; + window.x = width - window.width; //(backend.cursor_x > x_mid)? width - window.width : 0; window.y = (backend.cursor_y > y_mid)? height - window.height : 0; window.show(); window.raise();