summaryrefslogtreecommitdiffstats
path: root/examples/wayland/pure-qml/qml/Screen.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/pure-qml/qml/Screen.qml')
-rw-r--r--examples/wayland/pure-qml/qml/Screen.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/wayland/pure-qml/qml/Screen.qml b/examples/wayland/pure-qml/qml/Screen.qml
index 2043fa8b4..0920a8b95 100644
--- a/examples/wayland/pure-qml/qml/Screen.qml
+++ b/examples/wayland/pure-qml/qml/Screen.qml
@@ -58,7 +58,7 @@ WaylandOutput {
id: mouseTracker
anchors.fill: parent
- enableWSCursor: true
+ windowSystemCursorEnabled: true
Image {
id: background
anchors.fill: parent
@@ -73,10 +73,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
}
}