summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Mikhaylenko <alexm@gnome.org>2021-03-23 14:30:52 +0500
committerAlexander Mikhaylenko <alexm@gnome.org>2021-03-24 17:10:26 +0500
commit0b28e04738a472d91d4d51c01a5dba4792db010e (patch)
tree3437fee1da383a27222ecc353706c7c67cc05f6b
parent0ea58ea28e64332e86f4d265bed726e90a46bb4c (diff)
downloadepiphany-0b28e04738a472d91d4d51c01a5dba4792db010e.tar.gz
session: Show headerbar when restoring fullscreen state
This should behave the same way as fullscreen in menu, not fullscreen requested by webpages.
-rw-r--r--src/ephy-session.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 544b4200a..ba0666560 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -1180,8 +1180,11 @@ session_parse_window (SessionParserContext *context,
if (is_maximized)
gtk_window_maximize (GTK_WINDOW (context->window));
- if (is_fullscreen)
+ if (is_fullscreen) {
+ /* Treat fullscreen on session restore same as fullscreen action */
+ ephy_window_show_fullscreen_header_bar (context->window);
gtk_window_fullscreen (GTK_WINDOW (context->window));
+ }
}
static void