on xenial help sign in
fix unsnapping a maximized window from the panel
b3745d6Lukáš Tinkl
qml/Panel/Panel.qml+2−1
@@ -207,7 +207,7 @@ Item {
207 opacity: d.showPointerMenu ? 1 : 0
207 opacity: d.showPointerMenu ? 1 : 0
208 visible: opacity != 0
208 visible: opacity != 0
209 Behavior on opacity { UbuntuNumberAnimation { duration: UbuntuAnimation.SnapDuration } }
209 Behavior on opacity { UbuntuNumberAnimation { duration: UbuntuAnimation.SnapDuration } }
210− active: __applicationMenus.model
210+ active: __applicationMenus.model && !callHint.visible
211
211
212 width: parent.width - windowControlButtons.width - units.gu(2) - __indicators.barWidth
212 width: parent.width - windowControlButtons.width - units.gu(2) - __indicators.barWidth
213
213
@@ -233,6 +233,7 @@ Item {
233 }
233 }
234
234
235 onDoubleClicked: PanelState.restoreClicked()
235 onDoubleClicked: PanelState.restoreClicked()
236+ onPressed: decorationMouseArea.onPressed(mouse)
236 }
237 }
237 }
238 }
238 }
239 }