on xenial help sign in
disable the overlay for fullscreen apps
9b0060bLukáš Tinkl
qml/Stages/WindowControlsOverlay.qml+3−1
@@ -22,6 +22,7 @@ import "../Components/PanelState"
22
22
23Item {
23Item {
24 id: root
24 id: root
25+ enabled: target && !target.fullscreen
25
26
26 // to be set from outside
27 // to be set from outside
27 property Item target // appDelegate
28 property Item target // appDelegate
@@ -41,7 +42,8 @@ Item {
41 touchPoints.length >= minimumTouchPoints &&
42 touchPoints.length >= minimumTouchPoints &&
42 touchPoints.length <= maximumTouchPoints
43 touchPoints.length <= maximumTouchPoints
43 onRecognizedPressChanged: {
44 onRecognizedPressChanged: {
44− if (recognizedPress && target && !target.fullscreen) {
45+ if (recognizedPress) {
46+ target.focus = true;
45 overlayTimer.start();
47 overlayTimer.start();
46 }
48 }
47 }
49 }