[epiphany/wip/exalm/fullscreen: 11/12] fullscreen-box: Call update() when fullscreening




commit 184cdf797c9f78ae600a2873c7df0ed4b705a54f
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Mar 23 14:44:45 2021 +0500

    fullscreen-box: Call update() when fullscreening
    
    start_hide_timeout() is what we likely want, but we should still do all the
    checks in case we're focusing url bar or something.

 src/ephy-fullscreen-box.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/ephy-fullscreen-box.c b/src/ephy-fullscreen-box.c
index bf604d57c..36c30d5eb 100644
--- a/src/ephy-fullscreen-box.c
+++ b/src/ephy-fullscreen-box.c
@@ -497,7 +497,7 @@ ephy_fullscreen_box_set_fullscreen (EphyFullscreenBox *self,
 
   if (fullscreen) {
     hdy_flap_set_fold_policy (self->flap, HDY_FLAP_FOLD_POLICY_ALWAYS);
-    start_hide_timeout (self);
+    update (self, FALSE);
   } else {
     hdy_flap_set_fold_policy (self->flap, HDY_FLAP_FOLD_POLICY_NEVER);
     show_ui (self);


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