summaryrefslogtreecommitdiff
path: root/openbox/group.h
blob: 7cb6a40583d0c8fcd347e521f558d24ed69a0d17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef __group_h
#define __group_h

#include <X11/Xlib.h>
#include <glib.h>

struct _ObClient;

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 _ObClient *client);

void group_remove(Group *self, struct _ObClient *client);

#endif