#ifndef __ob__session_h
#define __ob__session_h
-#include <glib.h>
+#include "client.h"
+#include "screen.h"
-struct _ObClient;
+#include <glib.h>
typedef struct _ObSessionState ObSessionState;
struct _ObSessionState {
gchar *id, *command, *name, *class, *role;
+ ObClientType type;
guint desktop;
gint x, y, w, h;
gboolean shaded, iconic, skip_pager, skip_taskbar, fullscreen;
/*! 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;