summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/wayland/custom-extension/compositor/qml/Screen.qml4
-rw-r--r--examples/wayland/multi-output/qml/ShellScreen.qml4
-rw-r--r--examples/wayland/pure-qml/qml/Screen.qml4
3 files changed, 6 insertions, 6 deletions
diff --git a/examples/wayland/custom-extension/compositor/qml/Screen.qml b/examples/wayland/custom-extension/compositor/qml/Screen.qml
index a4e69300f..a1e43a00b 100644
--- a/examples/wayland/custom-extension/compositor/qml/Screen.qml
+++ b/examples/wayland/custom-extension/compositor/qml/Screen.qml
@@ -69,8 +69,8 @@ WaylandOutput {
WaylandCursorItem {
id: cursor
inputEventsEnabled: false
- x: mouseTracker.mouseX - hotspotX
- y: mouseTracker.mouseY - hotspotY
+ x: mouseTracker.mouseX
+ y: mouseTracker.mouseY
inputDevice: output.compositor.defaultInputDevice
}
diff --git a/examples/wayland/multi-output/qml/ShellScreen.qml b/examples/wayland/multi-output/qml/ShellScreen.qml
index 0e53ba074..2ac22367f 100644
--- a/examples/wayland/multi-output/qml/ShellScreen.qml
+++ b/examples/wayland/multi-output/qml/ShellScreen.qml
@@ -66,8 +66,8 @@ WaylandOutput {
WaylandCursorItem {
id: cursor
inputEventsEnabled: false
- x: mouseTracker.mouseX - hotspotX
- y: mouseTracker.mouseY - hotspotY
+ x: mouseTracker.mouseX
+ y: mouseTracker.mouseY
inputDevice : output.compositor.defaultInputDevice
}
diff --git a/examples/wayland/pure-qml/qml/Screen.qml b/examples/wayland/pure-qml/qml/Screen.qml
index 59eeee75b..968aad818 100644
--- a/examples/wayland/pure-qml/qml/Screen.qml
+++ b/examples/wayland/pure-qml/qml/Screen.qml
@@ -73,8 +73,8 @@ WaylandOutput {
WaylandCursorItem {
id: cursor
inputEventsEnabled: false
- x: mouseTracker.mouseX - hotspotX
- y: mouseTracker.mouseY - hotspotY
+ x: mouseTracker.mouseX
+ y: mouseTracker.mouseY
inputDevice: output.compositor.defaultInputDevice
}