summaryrefslogtreecommitdiff
path: root/openbox/group.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/group.h')
-rw-r--r--openbox/group.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/openbox/group.h b/openbox/group.h
new file mode 100644
index 00000000..dfc6e883
--- /dev/null
+++ b/openbox/group.h
@@ -0,0 +1,25 @@
+#ifndef __group_h
+#define __group_h
+
+#include <X11/Xlib.h>
+#include <glib.h>
+
+struct Client;
+
+typedef struct Group {
+ Window leader;
+
+ /* list of clients */
+ GSList *members;
+} Group;
+
+extern GHashTable *group_map;
+
+void group_startup();
+void group_shutdown();
+
+Group *group_add(Window leader, struct Client *client);
+
+void group_remove(Group *self, struct Client *client);
+
+#endif