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




commit 8877bc24569a157057de4c3ee4e03429ebd882a9
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 6bdd47f2b..a5489a164 100644
--- a/src/ephy-fullscreen-box.c
+++ b/src/ephy-fullscreen-box.c
@@ -488,7 +488,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]