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