diff options
Diffstat (limited to 'src/compositor/qmlfiles/WaylandCursorItem.qml')
-rw-r--r-- | src/compositor/qmlfiles/WaylandCursorItem.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/compositor/qmlfiles/WaylandCursorItem.qml b/src/compositor/qmlfiles/WaylandCursorItem.qml index 1153038b9..dfa704176 100644 --- a/src/compositor/qmlfiles/WaylandCursorItem.qml +++ b/src/compositor/qmlfiles/WaylandCursorItem.qml @@ -22,7 +22,7 @@ WaylandQuickItem { Connections { target: seat - onCursorSurfaceRequest: { + function onCursorSurfaceRequest(surface, hotspotX, hotspotY) { cursorItem.surface = surface; cursorItem.hotspotX = hotspotX; cursorItem.hotspotY = hotspotY; @@ -41,7 +41,9 @@ WaylandQuickItem { Connections { target: dragIcon.surface - onOffsetForNextFrame: dragIcon.offset = offset; + function onOffsetForNextFrame(offset) { + dragIcon.offset = offset; + } } } } |