on xenial help sign in
disable the overlay for fullscreen apps
commit9b0060b45fd66de528b27fe993d727846ed22045 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateWed 25 May 2016, 12:22 (10 years ago) parent9e7d210
1 file changed+3−1
qml/Stages/WindowControlsOverlay.qml+3−1
qml/Stages/WindowControlsOverlay.qml+3−1
@@ -22,6 +22,7 @@ import "../Components/PanelState"
2222
2323Item {
2424 id: root
25+ enabled: target && !target.fullscreen
2526
2627 // to be set from outside
2728 property Item target // appDelegate
@@ -41,7 +42,8 @@ Item {
4142 touchPoints.length >= minimumTouchPoints &&
4243 touchPoints.length <= maximumTouchPoints
4344 onRecognizedPressChanged: {
44− if (recognizedPress && target && !target.fullscreen) {
45+ if (recognizedPress) {
46+ target.focus = true;
4547 overlayTimer.start();
4648 }
4749 }