summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-06-23 00:21:20 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-06-23 00:21:20 +0000
commit97b629ad5b547e1e803ab68538fbc43a5089f5b0 (patch)
treeab7269d19c574fc99fccf460818a0b0583d687d1 /src/session.h
parent5eca441b1ca058b571e31202d8127bed61e6184e (diff)
downloadmetacity-97b629ad5b547e1e803ab68538fbc43a5089f5b0.tar.gz
metacity-97b629ad5b547e1e803ab68538fbc43a5089f5b0.tar.bz2
Partially fix Jacob's SM bugs.
2002-06-22 Havoc Pennington <hp@pobox.com> Partially fix Jacob's SM bugs. * src/window.c (meta_window_apply_session_info): restore the extra stuff we're saving, except stack position I didn't figure out yet. * src/session.c: save stack position, minimized, maximized, in the session file.
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h
index 93c9df5..35f267f 100644
--- a/src/session.h
+++ b/src/session.h
@@ -40,6 +40,8 @@ struct _MetaWindowSessionInfo
/* Information we restore */
GSList *workspace_indices;
+
+ int stack_position;
/* width/height should be multiplied by resize inc and
* added to base size; position should be interpreted in
@@ -49,9 +51,14 @@ struct _MetaWindowSessionInfo
int gravity;
MetaRectangle rect;
guint on_all_workspaces : 1;
+ guint minimized : 1;
+ guint maximized : 1;
+ guint stack_position_set : 1;
guint geometry_set : 1;
guint on_all_workspaces_set : 1;
+ guint minimized_set : 1;
+ guint maximized_set : 1;
};
/* If lookup_saved_state returns something, it should be used,