X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fsession.h;fp=openbox%2Fsession.h;h=6a7d40c7be34475a21fc2bb436e64add1b449a78;hb=486c189d0b606b6dce28ff84a472979c67d5dc9c;hp=5247d69015920e5ac7e51e6df2df43bea3094164;hpb=97e0908f16e203d26c96212231f59e67f9cf944c;p=chaz%2Fopenbox diff --git a/openbox/session.h b/openbox/session.h index 5247d690..6a7d40c7 100644 --- a/openbox/session.h +++ b/openbox/session.h @@ -9,18 +9,23 @@ typedef struct _ObSessionState ObSessionState; struct _ObSessionState { gchar *id, *name, *class, *role; + guint stacking; guint desktop; gint x, y, w, h; gboolean shaded, iconic, skip_pager, skip_taskbar, fullscreen; gboolean above, below, max_horz, max_vert; + + gboolean matched; }; +extern GList *session_saved_state; void session_load(char *path); void session_startup(int argc, char **argv); void session_shutdown(); -ObSessionState* session_state_find(struct _ObClient *c); +GList* session_state_find(struct _ObClient *c); +gboolean session_state_cmp(ObSessionState *s, struct _ObClient *c); void session_state_free(ObSessionState *state); #endif