]> Dogcows Code - chaz/openbox/blob - openbox/session.h
restore saved session data for applications
[chaz/openbox] / 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 desktop;
13 gint x, y, w, h;
14 gboolean shaded, iconic, skip_pager, skip_taskbar, fullscreen;
15 gboolean above, below, max_horz, max_vert;
16 };
17
18
19 void session_load(char *path);
20 void session_startup(int argc, char **argv);
21 void session_shutdown();
22
23 ObSessionState* session_state_find(struct _ObClient *c);
24 void session_state_free(ObSessionState *state);
25
26 #endif
This page took 0.035226 seconds and 5 git commands to generate.