summaryrefslogtreecommitdiffstats
path: root/examples/wayland/multi-output
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2016-07-07 15:11:35 +0200
committerJohan Helsing <johan.helsing@qt.io>2016-07-11 09:47:53 +0000
commit411a2672f8bb057614abd0aedb3c321d5dc92363 (patch)
treed1727c1d928ebab57ec609ca66ac73835135916d /examples/wayland/multi-output
parentacc585d0c96665b2efab0d622250ed209155d534 (diff)
Adjust for hotspot position inside WaylandCursorItem
Change-Id: Ide6605b7bd05f739976ed603c19e030ec74d2a2a Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Diffstat (limited to 'examples/wayland/multi-output')
-rw-r--r--examples/wayland/multi-output/qml/ShellScreen.qml4
1 files changed, 2 insertions, 2 deletions
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
}