]> Dogcows Code - chaz/openbox/blobdiff - openbox/group.h
track window groups
[chaz/openbox] / openbox / group.h
diff --git a/openbox/group.h b/openbox/group.h
new file mode 100644 (file)
index 0000000..dfc6e88
--- /dev/null
@@ -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
This page took 0.025816 seconds and 4 git commands to generate.