X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fgroup.h;h=d9c2604ac63bb1f5043f80d0b221594c8acff8ad;hb=16f46c296d1fcd3f27fc62a18e71c55fb3fd3e88;hp=7cb6a40583d0c8fcd347e521f558d24ed69a0d17;hpb=2477a38d2f3063b697e44bf3690cf280fb26ca8a;p=chaz%2Fopenbox diff --git a/openbox/group.h b/openbox/group.h index 7cb6a405..d9c2604a 100644 --- a/openbox/group.h +++ b/openbox/group.h @@ -1,25 +1,46 @@ +/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- + + group.h for the Openbox window manager + Copyright (c) 2003 Ben Jansens + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + See the COPYING file for a copy of the GNU General Public License. +*/ + #ifndef __group_h #define __group_h #include #include +typedef struct _ObGroup ObGroup; + struct _ObClient; -typedef struct Group { +struct _ObGroup +{ Window leader; /* list of clients */ GSList *members; -} Group; +}; extern GHashTable *group_map; -void group_startup(); -void group_shutdown(); +void group_startup(gboolean reconfig); +void group_shutdown(gboolean reconfig); -Group *group_add(Window leader, struct _ObClient *client); +ObGroup *group_add(Window leader, struct _ObClient *client); -void group_remove(Group *self, struct _ObClient *client); +void group_remove(ObGroup *self, struct _ObClient *client); #endif