]> Dogcows Code - chaz/openbox/blob - openbox/session.h
fix a mem leak, and make suer the menus arent visible when they are modified
[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 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_startup(int *argc, char ***argv);
24 void session_shutdown();
25
26 GList* session_state_find(struct _ObClient *c);
27 gboolean session_state_cmp(ObSessionState *s, struct _ObClient *c);
28 void session_state_free(ObSessionState *state);
29
30 #endif
This page took 0.037036 seconds and 4 git commands to generate.