From 5f42ecfacbbf0bcfe43137c51a20b60d8ea368e3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 7 Apr 2003 05:47:20 +0000 Subject: track window groups iconify all its transients when a window is iconified --- openbox/group.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 openbox/group.h (limited to 'openbox/group.h') 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 +#include + +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 -- cgit v1.2.3