add an explanation for the cursorShape trick
commit787a5522177a070b72083cc50cab25ab3c6f9c8d
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateFri 7 Oct 2016, 13:20 (10 years ago)
parent94dcd61
qml/Stage/DecoratedWindow.qml+1−1
@@ -231,7 +231,7 @@ FocusScope {
231231 anchors.fill: applicationWindow
232232 acceptedButtons: Qt.LeftButton
233233 property bool dragging: false
234− cursorShape: undefined
234+ cursorShape: undefined // don't interfere with the cursor shape set by the underlying MirSurfaceItem
235235 onPressed: {
236236 if (mouse.button == Qt.LeftButton && mouse.modifiers == Qt.AltModifier) {
237237 root.decorationPressed(); // to raise it