summaryrefslogtreecommitdiffstats
path: root/examples/wayland/multi-screen/qml
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-03-20 11:08:21 +0100
committerPaul Olav Tvete <paul.tvete@qt.io>2017-03-28 07:36:56 +0000
commit0bdba5bce6ce09f9740d70f553fa302990c2161d (patch)
tree241fc5fdefce4418fd615649eb7d67cc467ff1da /examples/wayland/multi-screen/qml
parent518ea708037507cb06b3877711838aab62369656 (diff)
multi-screen example: use Screen.virtualX/Y rather than screen
The windows did not get positioned on the correct screens without making this change. It seems to be a consequence of qtdeclarative change f145f33d529c2b59ace7a3cdfd5463e68787f40b Change-Id: I756a9992f80ef17cdbeaf4645298b5b0651947db Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'examples/wayland/multi-screen/qml')
-rw-r--r--examples/wayland/multi-screen/qml/Screen.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/wayland/multi-screen/qml/Screen.qml b/examples/wayland/multi-screen/qml/Screen.qml
index 2179e4779..1759bec59 100644
--- a/examples/wayland/multi-screen/qml/Screen.qml
+++ b/examples/wayland/multi-screen/qml/Screen.qml
@@ -54,8 +54,8 @@ WaylandOutput {
window: Window {
id: win
- x: screen.virtualX
- y: screen.virtualY
+ x: Screen.virtualX
+ y: Screen.virtualY
width: 800
height: 800
visibility: windowed ? Window.Windowed : Window.FullScreen