X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fsession.h;h=f37e2111710913002d20a10c9b36c06c91e46b61;hb=b888197d80cc5c34ad35ce8820b120bc22c3c83f;hp=ddf6f7768bdd9d245b061af7dc0bfd271ba11590;hpb=8679fbba8f55c17114e53651ec4a1c154a2aae40;p=chaz%2Fopenbox diff --git a/openbox/session.h b/openbox/session.h index ddf6f776..f37e2111 100644 --- a/openbox/session.h +++ b/openbox/session.h @@ -20,6 +20,7 @@ #define __ob__session_h #include "client.h" +#include "screen.h" #include @@ -27,6 +28,7 @@ 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; @@ -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; @@ -47,4 +53,8 @@ void session_shutdown(gboolean permanent); GList* session_state_find(struct _ObClient *c); +void session_request_logout(gboolean silent); + +gboolean session_connected(void); + #endif