summaryrefslogtreecommitdiff
path: root/openbox/session.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-23 03:07:50 +0000
committerDana Jansens <danakj@orodu.net>2007-05-23 03:07:50 +0000
commit6f6ab8c442b1626a1cd28868900a00fe4bf8cb08 (patch)
tree0e6aa6093ca161e1de23c6ecc1bc1589f6e94295 /openbox/session.h
parent3b8bcd3e3a5ccb94c8d0c832c671f1f845f2ce76 (diff)
save and restore the desktop number/layout/names in the session.
also fix a segfault in some debug prints, printing ints as strings!
Diffstat (limited to 'openbox/session.h')
-rw-r--r--openbox/session.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/session.h b/openbox/session.h
index 97e55a3b..b4ce6d91 100644
--- a/openbox/session.h
+++ b/openbox/session.h
@@ -20,6 +20,7 @@
#define __ob__session_h
#include "client.h"
+#include "screen.h"
#include <glib.h>
@@ -40,6 +41,10 @@ struct _ObSessionState {
/*! The desktop being viewed when the session was saved. A valud of -1 means
it was not saved */
extern gint session_desktop;
+extern gint session_num_desktops;
+extern gboolean session_desktop_layout_present;
+extern ObDesktopLayout session_desktop_layout;
+extern GSList *session_desktop_names;
extern GList *session_saved_state;