on xenial help sign in
unbreak clash with resize area
commit5b1583f353257b2a1576fabc33c5ca048e6e11f3 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateWed 30 Mar 2016, 00:38 (11 years ago) parentbe4b0d4
3 files changed+9−4
qml/Stages/DecoratedWindow.qml−4 qml/Stages/DesktopStage.qml+4 qml/Stages/WindowControlsOverlay.qml+5
qml/Stages/DecoratedWindow.qml−4
@@ -103,8 +103,4 @@ FocusScope {
103103 interactive: true
104104 focus: true
105105 }
106−
107− WindowControlsOverlay {
108− anchors.fill: root
109− }
110106}
qml/Stages/DesktopStage.qml+4
@@ -544,6 +544,10 @@ AbstractStage {
544544 onDecorationPressed: { ApplicationManager.focusApplication(model.appId) }
545545 }
546546
547+ WindowControlsOverlay {
548+ target: resizeArea
549+ }
550+
547551 WindowedFullscreenPolicy {
548552 id: fullscreenPolicy
549553 active: true
qml/Stages/WindowControlsOverlay.qml+5
@@ -19,6 +19,11 @@ import Ubuntu.Components 1.3
1919import Ubuntu.Gestures 0.1
2020
2121Item {
22+ // to be set from outside
23+ property Item target: null
24+
25+ anchors.fill: target
26+
2227 TabletSideStageTouchGesture {
2328 minimumTouchPoints: 2
2429 maximumTouchPoints: 2