X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fopenbox;a=blobdiff_plain;f=openbox%2Fsession.h;h=8cfcb8e71b3c68458d979811145b3daae50dc8c9;hp=ddf6f7768bdd9d245b061af7dc0bfd271ba11590;hb=HEAD;hpb=8679fbba8f55c17114e53651ec4a1c154a2aae40 diff --git a/openbox/session.h b/openbox/session.h index ddf6f776..8cfcb8e7 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,11 +28,13 @@ 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; gboolean above, below, max_horz, max_vert, undecorated; gboolean focused; + guint8 opacity; gboolean matched; }; @@ -39,6 +42,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 +54,8 @@ void session_shutdown(gboolean permanent); GList* session_state_find(struct _ObClient *c); +void session_request_logout(gboolean silent); + +gboolean session_connected(void); + #endif