summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2011-12-27 20:40:54 +0100
committerportix <portix@gmx.net>2011-12-27 20:40:54 +0100
commitb39f6f7558caa7993162ef5a53ad7b42416b592a (patch)
tree65691d737c85e68b45353946bbb7e90dc51585bc /src/session.c
parentc37aec6a18d07bfeccd1518f084c031763f93e9b (diff)
downloaddwb-b39f6f7558caa7993162ef5a53ad7b42416b592a.zip
Remove tiling
--HG-- branch : experimental
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/session.c b/src/session.c
index 54b3488c..0dc3692e 100644
--- a/src/session.c
+++ b/src/session.c
@@ -135,15 +135,8 @@ session_restore(const char *name) {
if (!dwb.state.views)
view_add(NULL, false);
- if (dwb.state.layout & MAXIMIZED && dwb.state.views) {
- gtk_widget_hide(dwb.gui.right);
- for (GList *l = dwb.state.views->next; l; l=l->next) {
- gtk_widget_hide(((View*)l->data)->vbox);
- }
- }
dwb_unfocus();
dwb_focus(dwb.state.views);
- dwb_update_layout(false);
FREE(uri);
return true;
}/*}}}*/