X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fsession.h;h=b4ce6d917a156c775c02ce72f832fcec0cf8a3eb;hb=5563e251c36a1fbda703cf4bc3c8c6ae543829bd;hp=cbfd517774df74f74b9f30664f875a49fc6dc6d9;hpb=1bf9de380991206d4afa104cd31c567583f288c2;p=chaz%2Fopenbox diff --git a/openbox/session.h b/openbox/session.h index cbfd5177..b4ce6d91 100644 --- a/openbox/session.h +++ b/openbox/session.h @@ -19,14 +19,16 @@ #ifndef __ob__session_h #define __ob__session_h -#include +#include "client.h" +#include "screen.h" -struct _ObClient; +#include typedef struct _ObSessionState ObSessionState; struct _ObSessionState { - gchar *id, *name, *class, *role; + gchar *id, *command, *name, *class, *role; + ObClientType type; guint desktop; gint x, y, w, h; gboolean shaded, iconic, skip_pager, skip_taskbar, fullscreen; @@ -39,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;