summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/session.c b/src/session.c
index c4e67451..38061b17 100644
--- a/src/session.c
+++ b/src/session.c
@@ -108,6 +108,13 @@ dwb_session_restore(const gchar *name) {
g_strfreev(line);
}
g_strfreev(lines);
+ gtk_widget_show_all(dwb.gui.window);
+ if (dwb.state.layout & Maximized) {
+ gtk_widget_hide(dwb.gui.right);
+ for (GList *l = dwb.state.views->next; l; l=l->next) {
+ gtk_widget_hide(((View*)l->data)->vbox);
+ }
+ }
return true;
}/*}}}*/