@@ -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()
@@ -266,6 +268,7 @@ FocusScope {
266268 acceptedButtons: Qt.LeftButton
267269 property bool dragging: false
268270 cursorShape: undefined // don't interfere with the cursor shape set by the underlying MirSurfaceItem
271+ visible: enabled
269272 onPressed: {
270273 if (mouse.button == Qt.LeftButton && mouse.modifiers == Qt.AltModifier) {
271274 root.decorationPressed(); // to raise it