summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorrhp <rhp>2001-07-26 05:10:01 +0000
committerrhp <rhp>2001-07-26 05:10:01 +0000
commit5c2ac489f1489cbe10462fc5a9a11fdb63000ffe (patch)
treed76b57c4492b652c2d6ed915b156be7ffb89d09d /src/session.h
parentc18a8137ce063918615d5a74474011b09c349b95 (diff)
downloadmetacity-5c2ac489f1489cbe10462fc5a9a11fdb63000ffe.tar.gz
metacity-5c2ac489f1489cbe10462fc5a9a11fdb63000ffe.tar.bz2
...
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/session.h b/src/session.h
index 6cca5d4..3ec3ecc 100644
--- a/src/session.h
+++ b/src/session.h
@@ -24,24 +24,19 @@
#include "window.h"
-typedef struct _MetaSessionInfo MetaSessionInfo;
+typedef struct _MetaWindowSessionInfo MetaWindowSessionInfo;
-struct _MetaSessionInfo
+struct _MetaWindowSessionInfo
{
- /* In -geometry format; x, y are affected by gravity, width, height
- * are to be multiplied by resize increments, etc. This way we're
- * robust against theme changes, client resize inc changes, client
- * base size changes, and so on.
- */
- MetaRectangle rect;
-
- /* A per-screen index (_NET_WM_DESKTOP) */
int workspace;
+
};
-MetaSessionInfo* meta_window_lookup_session_info (MetaWindow *window);
+void meta_window_lookup_saved_state (MetaWindow *window,
+ MetaWindowSessionInfo *info);
+
+void meta_session_init (const char *previous_id);
-void meta_session_init (const char *previous_id);
#endif