diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-03-20 11:08:21 +0100 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2017-03-28 07:36:56 +0000 |
commit | 0bdba5bce6ce09f9740d70f553fa302990c2161d (patch) | |
tree | 241fc5fdefce4418fd615649eb7d67cc467ff1da /examples | |
parent | 518ea708037507cb06b3877711838aab62369656 (diff) | |
download | qtwayland-0bdba5bce6ce09f9740d70f553fa302990c2161d.tar.gz |
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')
-rw-r--r-- | examples/wayland/multi-screen/qml/Screen.qml | 4 |
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 2179e477..1759bec5 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 |