summaryrefslogtreecommitdiff
path: root/examples/wayland/multi-screen/qml/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/multi-screen/qml/main.qml')
-rw-r--r--examples/wayland/multi-screen/qml/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/wayland/multi-screen/qml/main.qml b/examples/wayland/multi-screen/qml/main.qml
index fc14d0a7..1180d30b 100644
--- a/examples/wayland/multi-screen/qml/main.qml
+++ b/examples/wayland/multi-screen/qml/main.qml
@@ -30,7 +30,7 @@ WaylandCompositor {
surfaceArea.color: "lightsteelblue"
text: name
compositor: comp
- screen: modelData
+ screen: emulated ? Qt.application.screens[0] : modelData
Component.onCompleted: if (!comp.defaultOutput) comp.defaultOutput = this
position: Qt.point(virtualX, virtualY)
windowed: emulated