X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fsession.h;h=f37e2111710913002d20a10c9b36c06c91e46b61;hb=6c87b1dd703bb67d7c945dc846da9d17c9c72382;hp=97e55a3b1fe8301b04b8eb709a42c72756c518d0;hpb=f9a79e6062a41615c58cee81fa721578d7c2a4aa;p=chaz%2Fopenbox diff --git a/openbox/session.h b/openbox/session.h index 97e55a3b..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 @@ -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; @@ -48,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