diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-07 05:47:20 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-07 05:47:20 +0000 |
| commit | 5f42ecfacbbf0bcfe43137c51a20b60d8ea368e3 (patch) | |
| tree | 5be32cfa3f91b3b46f6cf0c972e4559bab1fe07f /openbox/group.h | |
| parent | aaae49d6291ffd202cfd7e6a9a31df816433d356 (diff) | |
track window groups
iconify all its transients when a window is iconified
Diffstat (limited to 'openbox/group.h')
| -rw-r--r-- | openbox/group.h | 25 |
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 |
