summaryrefslogtreecommitdiffstats
path: root/examples/wayland/multi-screen/qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/multi-screen/qml')
-rw-r--r--examples/wayland/multi-screen/qml/Screen.qml6
-rw-r--r--examples/wayland/multi-screen/qml/main.qml2
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/wayland/multi-screen/qml/Screen.qml b/examples/wayland/multi-screen/qml/Screen.qml
index 26132f754..2179e4779 100644
--- a/examples/wayland/multi-screen/qml/Screen.qml
+++ b/examples/wayland/multi-screen/qml/Screen.qml
@@ -47,15 +47,15 @@ WaylandOutput {
property variant viewsBySurface: ({})
property alias surfaceArea: background
property alias text: t.text
- property alias targetScreen: win.targetScreen
+ property alias screen: win.screen
sizeFollowsWindow: true
property bool windowed: false
window: Window {
id: win
- x: targetScreen.virtualX
- y: targetScreen.virtualY
+ x: screen.virtualX
+ y: screen.virtualY
width: 800
height: 800
visibility: windowed ? Window.Windowed : Window.FullScreen
diff --git a/examples/wayland/multi-screen/qml/main.qml b/examples/wayland/multi-screen/qml/main.qml
index 25961c698..9eaf6ffbb 100644
--- a/examples/wayland/multi-screen/qml/main.qml
+++ b/examples/wayland/multi-screen/qml/main.qml
@@ -65,7 +65,7 @@ WaylandCompositor {
surfaceArea.color: "lightsteelblue"
text: name
compositor: comp
- targetScreen: modelData
+ screen: modelData
Component.onCompleted: if (!comp.defaultOutput) comp.defaultOutput = this
position: Qt.point(virtualX, virtualY)
windowed: emulated