summaryrefslogtreecommitdiffstats
path: root/examples/wayland/multi-output/qml/ShellScreen.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/multi-output/qml/ShellScreen.qml')
-rw-r--r--examples/wayland/multi-output/qml/ShellScreen.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/wayland/multi-output/qml/ShellScreen.qml b/examples/wayland/multi-output/qml/ShellScreen.qml
index 77fbeb828..9a6122118 100644
--- a/examples/wayland/multi-output/qml/ShellScreen.qml
+++ b/examples/wayland/multi-output/qml/ShellScreen.qml
@@ -55,7 +55,7 @@ WaylandOutput {
id: mouseTracker
anchors.fill: parent
- enableWSCursor: true
+ windowSystemCursorEnabled: true
Image {
id: background
anchors.fill: parent
@@ -66,10 +66,10 @@ WaylandOutput {
WaylandCursorItem {
id: cursor
inputEventsEnabled: false
- x: mouseTracker.mouseX - hotspotX
- y: mouseTracker.mouseY - hotspotY
+ x: mouseTracker.mouseX
+ y: mouseTracker.mouseY
- inputDevice : output.compositor.defaultInputDevice
+ seat : output.compositor.defaultSeat
}
}
}