[libdazzle] application-window: ensure revealer is show



commit 42825cc03de83aae370ef0b2605c6cde1d4823db
Author: Christian Hergert <chergert redhat com>
Date:   Sat Jul 8 01:42:48 2017 -0700

    application-window: ensure revealer is show
    
    If we got the widget focus due to keyboard shortcuts, we need to
    ensure the revealer is shown.

 src/app/dzl-application-window.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/app/dzl-application-window.c b/src/app/dzl-application-window.c
index 7b647d1..b416b55 100644
--- a/src/app/dzl-application-window.c
+++ b/src/app/dzl-application-window.c
@@ -289,6 +289,9 @@ dzl_application_window_set_focus (GtkWindow *window,
               g_source_remove (priv->fullscreen_reveal_source);
               priv->fullscreen_reveal_source = 0;
             }
+
+          /* If this was just focused, we might need to make it visible */
+          gtk_revealer_set_reveal_child (priv->titlebar_revealer, TRUE);
         }
       else if (titlebar_had_focus)
         {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]