From dbfd97d11a24fb5ec479f31a11036417a5afaef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Fri, 19 Feb 2021 10:52:11 +0100 Subject: [PATCH] Do not block closing OSD when popover opened in windowed mode --- src/buttons.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/buttons.js b/src/buttons.js index 592edac5..bc717a0b 100644 --- a/src/buttons.js +++ b/src/buttons.js @@ -139,10 +139,10 @@ class ClapperPopoverButtonBase extends Gtk.ToggleButton const clapperWidget = this.get_ancestor(Gtk.Grid); - if(this.isFullscreen) + if(this.isFullscreen) { clapperWidget.revealControls(); - - clapperWidget.isPopoverOpen = true; + clapperWidget.isPopoverOpen = true; + } this.popover.popup(); }