]> icculus.org git repositories - mikachu/openbox.git/blob - openbox/group.h
make thebear the default theme
[mikachu/openbox.git] / openbox / group.h
1 #ifndef __group_h
2 #define __group_h
3
4 #include <X11/Xlib.h>
5 #include <glib.h>
6
7 typedef struct _ObGroup ObGroup;
8
9 struct _ObClient;
10
11 struct _ObGroup
12 {
13     Window leader;
14
15     /* list of clients */
16     GSList *members;
17 };
18
19 extern GHashTable *group_map;
20
21 void group_startup();
22 void group_shutdown();
23
24 ObGroup *group_add(Window leader, struct _ObClient *client);
25
26 void group_remove(ObGroup *self, struct _ObClient *client);
27
28 #endif