X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fsession.h;h=5247d69015920e5ac7e51e6df2df43bea3094164;hb=c0c06e3828981cacc96b27a87d7803f603241d15;hp=0e7aa97e2d0bdfd7b1c8605f576ab7e8c93309c7;hpb=04a44af3c4d6365cbf7b551b9cc15eaaada28410;p=chaz%2Fopenbox diff --git a/openbox/session.h b/openbox/session.h index 0e7aa97e..5247d690 100644 --- a/openbox/session.h +++ b/openbox/session.h @@ -1,8 +1,26 @@ #ifndef __ob__session_h #define __ob__session_h +#include + +struct _ObClient; + +typedef struct _ObSessionState ObSessionState; + +struct _ObSessionState { + gchar *id, *name, *class, *role; + guint desktop; + gint x, y, w, h; + gboolean shaded, iconic, skip_pager, skip_taskbar, fullscreen; + gboolean above, below, max_horz, max_vert; +}; + + void session_load(char *path); void session_startup(int argc, char **argv); void session_shutdown(); +ObSessionState* session_state_find(struct _ObClient *c); +void session_state_free(ObSessionState *state); + #endif