@@ -26,6 +26,8 @@ Item {
26 property Item resizeTarget // WindowResizeArea
26 property Item resizeTarget // WindowResizeArea
27 property int borderThickness
27 property int borderThickness
29 TabletSideStageTouchGesture {
31 TabletSideStageTouchGesture {
30 id: gestureArea
32 id: gestureArea
31 anchors.fill: parent
33 anchors.fill: parent
@@ -33,8 +35,9 @@ Item {
33 maximumTouchPoints: 2
35 maximumTouchPoints: 2
35 onRecognisedPressChanged: {
37 onRecognisedPressChanged: {
36− if (recognisedPress) {
38+ if (recognisedPress && target && !target.fullscreen) {
37 overlayTimer.running = true;
39 overlayTimer.running = true;
@@ -51,6 +54,8 @@ Item {
51 // dismiss area
54 // dismiss area
52 InverseMouseArea {
55 InverseMouseArea {
53 anchors.fill: overlay
56 anchors.fill: overlay
57+ visible: overlay.visible
54 onClicked: overlayTimer.stop()
59 onClicked: overlayTimer.stop()
@@ -95,7 +100,7 @@ Item {
96 id: overlay
101 id: overlay
97 anchors.fill: parent
102 anchors.fill: parent
98− opacity: overlayTimer.running && target && !target.fullscreen ? 1 : 0
103+ opacity: overlayTimer.running ? 1 : 0
99 visible: opacity == 1
104 visible: opacity == 1
100 enabled: visible
105 enabled: visible