on xenial help sign in
merge prereq
0478550Lukáš Tinkl
qml/Stages/DecoratedWindow.qml−1
@@ -119,7 +119,6 @@ FocusScope {
119
119
120 MoveHandler {
120 MoveHandler {
121 id: moveHandler
121 id: moveHandler
122− anchors.fill: parent
123 objectName: "moveHandler"
122 objectName: "moveHandler"
124 target: root.parent
123 target: root.parent
125 buttonsWidth: decoration.buttonsWidth
124 buttonsWidth: decoration.buttonsWidth
qml/Stages/MoveHandler.qml+3−4
@@ -21,7 +21,7 @@ import Utils 0.1
21import "../Components"
21import "../Components"
22import "../Components/PanelState"
22import "../Components/PanelState"
23
23
24−Item {
24+QtObject {
25 id: root
25 id: root
26
26
27 property Item target // appDelegate
27 property Item target // appDelegate
@@ -29,7 +29,7 @@ Item {
29 property int stageHeight
29 property int stageHeight
30 property real buttonsWidth: 0
30 property real buttonsWidth: 0
31
31
32− readonly property alias dragging: priv.dragging
32+ readonly property bool dragging: priv.dragging
33
33
34 signal fakeMaximizeAnimationRequested(real amount)
34 signal fakeMaximizeAnimationRequested(real amount)
35 signal fakeMaximizeLeftAnimationRequested(real amount)
35 signal fakeMaximizeLeftAnimationRequested(real amount)
@@ -40,8 +40,7 @@ Item {
40 signal fakeMaximizeBottomRightAnimationRequested(real amount)
40 signal fakeMaximizeBottomRightAnimationRequested(real amount)
41 signal stopFakeAnimation()
41 signal stopFakeAnimation()
42
42
43− QtObject {
43+ property QtObject priv: QtObject {
44− id: priv
45 property real distanceX
44 property real distanceX
46 property real distanceY
45 property real distanceY
47 property bool dragging
46 property bool dragging
qml/Stages/WindowControlsOverlay.qml−1
@@ -159,7 +159,6 @@ Item {
159
159
160 MoveHandler {
160 MoveHandler {
161 id: moveHandler
161 id: moveHandler
162− anchors.fill: mouseArea
163 objectName: "moveHandler"
162 objectName: "moveHandler"
164 target: root.target
163 target: root.target
165
164