@@ -27,8 +27,6 @@ MouseArea {
27 hoverEnabled: target && !target.maximized // don't grab the resize under the panel
27 hoverEnabled: target && !target.maximized // don't grab the resize under the panel
29 readonly property alias dragging: d.dragging
29 readonly property alias dragging: d.dragging
30− readonly property alias normalWidth: priv.normalWidth
31− readonly property alias normalHeight: priv.normalHeight
33 // The target item managed by this. Must be a parent or a sibling
31 // The target item managed by this. Must be a parent or a sibling
34 // The area will anchor to it and manage resize events
32 // The area will anchor to it and manage resize events
@@ -38,37 +36,6 @@ MouseArea {
38 property int minWidth: 0
36 property int minWidth: 0
39 property int minHeight: 0
37 property int minHeight: 0
42− priv.updateNormalGeometry();
49− property int normalX: 0
50− property int normalY: 0
51− property int normalWidth: 0
52− property int normalHeight: 0
54− function updateNormalGeometry() {
55− if (root.target.state == "normal" || root.target.state == "restored") {
56− normalX = root.target.requestedX
57− normalY = root.target.requestedY
58− normalWidth = root.target.width
59− normalHeight = root.target.height
66− onXChanged: priv.updateNormalGeometry();
67− onYChanged: priv.updateNormalGeometry();
68− onWidthChanged: priv.updateNormalGeometry();
69− onHeightChanged: priv.updateNormalGeometry();
72 QtObject {
39 QtObject {