]> icculus.org git repositories - mikachu/openbox.git/blob - openbox/session.h
add a reconfigure action, also reconfigure on SIGUSR2.
[mikachu/openbox.git] / openbox / session.h
1 #ifndef __ob__session_h
2 #define __ob__session_h
3
4 #include <glib.h>
5
6 struct _ObClient;
7
8 typedef struct _ObSessionState ObSessionState;
9
10 struct _ObSessionState {
11     gchar *id, *name, *class, *role;
12     guint stacking;
13     guint desktop;
14     gint x, y, w, h;
15     gboolean shaded, iconic, skip_pager, skip_taskbar, fullscreen;
16     gboolean above, below, max_horz, max_vert;
17
18     gboolean matched;
19 };
20
21 extern GList *session_saved_state;
22
23 void session_load(char *path);
24 void session_startup(int argc, char **argv);
25 void session_shutdown();
26
27 GList* session_state_find(struct _ObClient *c);
28 gboolean session_state_cmp(ObSessionState *s, struct _ObClient *c);
29 void session_state_free(ObSessionState *state);
30
31 #endif