summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2011-01-07 21:53:30 +0100
committerportix <portix@gmx.net>2011-01-07 21:53:30 +0100
commit84e75be12a35c55486fdf27aa17c46d15d4d75e6 (patch)
tree4b3ffc49c29e7cfc0835ddc7bb9247f61c89af0b /src/session.c
parent99112cb5cf0f4fac0a2aca02de837fb177814f64 (diff)
downloaddwb-84e75be12a35c55486fdf27aa17c46d15d4d75e6.zip
renaming, replace enums by defines
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.c b/src/session.c
index d2fe92d3..39460232 100644
--- a/src/session.c
+++ b/src/session.c
@@ -125,7 +125,7 @@ dwb_session_restore(const char *name) {
if (!dwb.state.views)
dwb_add_view(NULL);
- if (dwb.state.layout & Maximized && dwb.state.views) {
+ 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);