on xenial help sign in
Show and implement close buttons for child windows (LP: #1668053)
e0227feLukáš Tinkl
qml/Stage/ChildWindow.qml−4
@@ -104,10 +104,6 @@ FocusScope {
104 height: root.decorationHeight
104 height: root.decorationHeight
105 title: root.surface ? root.surface.name : ""
105 title: root.surface ? root.surface.name : ""
106 active: root.surface ? root.surface.focused : false
106 active: root.surface ? root.surface.focused : false
107− closeButtonVisible: root.surface ? root.surface.type === Mir.SatelliteType
108− || root.surface.type === Mir.NormalType
109− || root.surface.type === Mir.UtilityType
110− : false
111 minimizeButtonVisible: false
107 minimizeButtonVisible: false
112 maximizeButtonShown: false
108 maximizeButtonShown: false
113 onPressed: root.surface.activate();
109 onPressed: root.surface.activate();