X-Git-Url: https://git.decadent.org.uk/gitweb/?p=ion3.git;a=blobdiff_plain;f=ioncore%2Fgroup.h;h=1b3fd3c743063e985da64316a0f8fe37f616763c;hp=d9a37ea90e133cfbae22794e8ae603a04ca32c8a;hb=e3aec18706513a87eaa7839dfdaf7e0fcd0d8d2a;hpb=de22e45179cb3bafa490294d31d47f361047a30a diff --git a/ioncore/group.h b/ioncore/group.h index d9a37ea..1b3fd3c 100644 --- a/ioncore/group.h +++ b/ioncore/group.h @@ -1,12 +1,9 @@ /* * ion/ioncore/group.h * - * Copyright (c) Tuomo Valkonen 1999-2007. + * Copyright (c) Tuomo Valkonen 1999-2009. * - * Ion is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. + * See the included file LICENSE for details. */ #ifndef ION_IONCORE_GROUP_H @@ -20,7 +17,6 @@ #include #include #include -#include INTRSTRUCT(WGroupAttachParams); @@ -37,6 +33,7 @@ DECLSTRUCT(WGroupAttachParams){ uint switchto:1; uint bottom:1; + uint whatever:1; int geom_weak; WRectangle geom; @@ -47,7 +44,7 @@ DECLSTRUCT(WGroupAttachParams){ }; #define GROUPATTACHPARAMS_INIT \ - {0, 0, 0, 0, 0, 0, 0, 0, {0, 0, 0, 0}, 0, 0, NULL} + {0, 0, 0, 0, 0, 0, 0, 0, 0, {0, 0, 0, 0}, 0, 0, NULL} DECLCLASS(WGroup){ @@ -57,6 +54,7 @@ DECLCLASS(WGroup){ WStacking *current_managed; WStacking *bottom; Window dummywin; + WGroupPHolder *phs; }; @@ -75,6 +73,9 @@ DYNFUN WStacking *group_do_add_managed(WGroup *ws, WRegion *reg, extern WStacking *group_do_add_managed_default(WGroup *ws, WRegion *reg, int level, WSizePolicy szplcy); +extern void group_get_attach_params(WGroup *ws, ExtlTab tab, + WGroupAttachParams *par); + extern WRegion *group_do_attach(WGroup *ws, WGroupAttachParams *param, WRegionAttachData *data); @@ -94,6 +95,7 @@ extern void group_managed_notify(WGroup *ws, WRegion *reg, WRegionNotify how); extern WRegion *group_bottom(WGroup *ws); extern bool group_set_bottom(WGroup *ws, WRegion *reg); +DYNFUN void group_bottom_set(WGroup *grp); extern bool group_rescue_clientwins(WGroup *ws, WRescueInfo *info);