[epiphany/wip/exalm/fullscreen: 2/3] session: Show headerbar when restoring fullscreen state
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/exalm/fullscreen: 2/3] session: Show headerbar when restoring fullscreen state
- Date: Tue, 23 Mar 2021 09:36:25 +0000 (UTC)
commit a752ea8f4252cd11210607ef3a5e0c93c76ccbc5
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Mar 23 14:30:52 2021 +0500
session: Show headerbar when restoring fullscreen state
This should behave the same way as fullscreen in menu, not fullscreen
requested by webpages.
src/ephy-session.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]