@@ -72,6 +72,8 @@ FocusScope {
7272
7373 readonly property Item clientAreaItem: applicationWindow
7474
75+ property alias altDragEnabled: altDragHandler.enabled
76+
7577 signal closeClicked()
7678 signal maximizeClicked()
7779 signal maximizeHorizontallyClicked()
@@ -267,6 +269,7 @@ FocusScope {
267269 acceptedButtons: Qt.LeftButton
268270 property bool dragging: false
269271 cursorShape: undefined // don't interfere with the cursor shape set by the underlying MirSurfaceItem
272+ visible: enabled
270273 onPressed: {
271274 if (mouse.button == Qt.LeftButton && mouse.modifiers == Qt.AltModifier) {
272275 root.decorationPressed(); // to raise it