X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fgroup.h;h=d09ba9f862e1a3b0991ea69983366524cf2e088c;hb=3a5221140c3d59e7e964f9766f490e688a41ef4c;hp=cfc1b600332d1b75f1c0f611a8f928ea22b4a938;hpb=803afbc1cd633f6c025bcd9537e9b7e9aedadd0d;p=ion3.git diff --git a/ioncore/group.h b/ioncore/group.h index cfc1b60..d09ba9f 100644 --- a/ioncore/group.h +++ b/ioncore/group.h @@ -3,10 +3,7 @@ * * Copyright (c) Tuomo Valkonen 1999-2007. * - * 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); @@ -57,7 +53,7 @@ DECLCLASS(WGroup){ WStacking *current_managed; WStacking *bottom; Window dummywin; - uint bottom_last_close:1; + WGroupPHolder *phs; }; @@ -76,6 +72,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); @@ -91,9 +90,13 @@ extern void group_manage_stdisp(WGroup *ws, WRegion *stdisp, extern void group_managed_remove(WGroup *ws, WRegion *reg); +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, WPHolder *ph); +extern bool group_rescue_clientwins(WGroup *ws, WRescueInfo *info); extern bool group_rqclose(WGroup *ws); extern bool group_rqclose_relocate(WGroup *ws); @@ -104,7 +107,9 @@ extern bool group_managed_rqorder(WGroup *grp, WRegion *sub, extern WStacking *group_find_stacking(WGroup *ws, WRegion *r); extern WStacking *group_find_to_focus(WGroup *ws, WStacking *to_try); -extern WRegion *region_group_if_bottom(WRegion *reg); +extern WRegion *region_groupleader_of(WRegion *reg); +/*extern WRegion *region_group_of(WRegion *reg);*/ + typedef WStackingFilter WGroupIterFilter; typedef WStackingIterTmp WGroupIterTmp;