[gnome-games] fullscreen-box: Reveal the titlebar when restoring
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] fullscreen-box: Reveal the titlebar when restoring
- Date: Thu, 18 Jun 2020 10:05:49 +0000 (UTC)
commit d6edb0f440a190fb448c99a33b8b67bc7c01c26d
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Jun 18 09:19:41 2020 +0200
fullscreen-box: Reveal the titlebar when restoring
Without that, restoring via Ctrl+F when the titlebar is concealed will
keep it hidden with no other way to bring it back than going back
fullscreen via Ctrl+F.
src/ui/fullscreen-box.vala | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/ui/fullscreen-box.vala b/src/ui/fullscreen-box.vala
index 41f1b857..d53fdb58 100644
--- a/src/ui/fullscreen-box.vala
+++ b/src/ui/fullscreen-box.vala
@@ -148,6 +148,10 @@ private class Games.FullscreenBox : Gtk.EventBox, Gtk.Buildable {
cursor_timeout_id = -1;
}
+ // This is needed when restoring via a keyboard shortcut when the
+ // titlebar is concealed.
+ titlebar_box.reveal_titlebar = true;
+
on_cursor_moved ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]