on xenial help sign in
add an explanation for the cursorShape trick
787a552Lukáš Tinkl
qml/Stage/DecoratedWindow.qml+1−1
@@ -231,7 +231,7 @@ FocusScope {
231 anchors.fill: applicationWindow
231 anchors.fill: applicationWindow
232 acceptedButtons: Qt.LeftButton
232 acceptedButtons: Qt.LeftButton
233 property bool dragging: false
233 property bool dragging: false
234− cursorShape: undefined
234+ cursorShape: undefined // don't interfere with the cursor shape set by the underlying MirSurfaceItem
235 onPressed: {
235 onPressed: {
236 if (mouse.button == Qt.LeftButton && mouse.modifiers == Qt.AltModifier) {
236 if (mouse.button == Qt.LeftButton && mouse.modifiers == Qt.AltModifier) {
237 root.decorationPressed(); // to raise it
237 root.decorationPressed(); // to raise it