summaryrefslogtreecommitdiff
path: root/openbox/group.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-07 05:47:20 +0000
committerDana Jansens <danakj@orodu.net>2003-04-07 05:47:20 +0000
commit5f42ecfacbbf0bcfe43137c51a20b60d8ea368e3 (patch)
tree5be32cfa3f91b3b46f6cf0c972e4559bab1fe07f /openbox/group.h
parentaaae49d6291ffd202cfd7e6a9a31df816433d356 (diff)
track window groups
iconify all its transients when a window is iconified
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