diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2016-07-07 15:11:35 +0200 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2016-07-11 09:47:53 +0000 |
commit | 411a2672f8bb057614abd0aedb3c321d5dc92363 (patch) | |
tree | d1727c1d928ebab57ec609ca66ac73835135916d /src/imports | |
parent | acc585d0c96665b2efab0d622250ed209155d534 (diff) |
Adjust for hotspot position inside WaylandCursorItem
Change-Id: Ide6605b7bd05f739976ed603c19e030ec74d2a2a
Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/compositor/WaylandCursorItem.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/compositor/WaylandCursorItem.qml b/src/imports/compositor/WaylandCursorItem.qml index dab80da64..979d64ab0 100644 --- a/src/imports/compositor/WaylandCursorItem.qml +++ b/src/imports/compositor/WaylandCursorItem.qml @@ -46,6 +46,7 @@ WaylandQuickItem { visible: cursorItem.surface != null inputEventsEnabled: false enabled: false + transform: Translate { x: -hotspotX; y: -hotspotY } onInputDeviceChanged: { if (!inputDevice) |