From 59908f808fcaf863242d8225ed74beaf1e78ea22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Fri, 19 Feb 2021 13:13:25 +0100 Subject: [PATCH] Show menu and close buttons on mobile fullscreen view --- src/widget.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/widget.js b/src/widget.js index c2c4b902..4aebc255 100644 --- a/src/widget.js +++ b/src/widget.js @@ -151,8 +151,11 @@ class ClapperWidget extends Gtk.Grid this._changeControlsPlacement(isFullscreen); this.controls.setFullscreenMode(isFullscreen); - this.revealerTop.headerBar.visible = !isFullscreen; - this.revealerTop.revealerGrid.visible = (isFullscreen && !this.isMobileMonitor); + const headerbar = this.revealerTop.headerBar; + headerbar.visible = (!isFullscreen || this.isMobileMonitor); + headerbar.extraButtonsBox.visible = !isFullscreen; + + this.revealerTop.revealerGrid.visible = !headerbar.visible; this.setControlsCanFocus(false);