X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ioncore%2Fgroup.h;h=d9a37ea90e133cfbae22794e8ae603a04ca32c8a;hb=c77bb4a0d6b5c3eddadd80105e79348002a663e5;hp=0de372a84f35f790604c334829dda0e8b2ff2dde;hpb=8366314611bf30a0f31d25bf5f5023186fa87692;p=ion3.git diff --git a/ioncore/group.h b/ioncore/group.h index 0de372a..d9a37ea 100644 --- a/ioncore/group.h +++ b/ioncore/group.h @@ -1,7 +1,7 @@ /* * ion/ioncore/group.h * - * Copyright (c) Tuomo Valkonen 1999-2006. + * 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 @@ -36,7 +36,6 @@ DECLSTRUCT(WGroupAttachParams){ uint switchto_set:1; uint switchto:1; - uint modal:1; uint bottom:1; int geom_weak; @@ -48,7 +47,7 @@ DECLSTRUCT(WGroupAttachParams){ }; #define GROUPATTACHPARAMS_INIT \ - {0, 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, NULL} DECLCLASS(WGroup){ @@ -58,7 +57,6 @@ DECLCLASS(WGroup){ WStacking *current_managed; WStacking *bottom; Window dummywin; - uint bottom_last_close:1; }; @@ -92,9 +90,12 @@ 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); -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); @@ -105,6 +106,10 @@ 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_groupleader_of(WRegion *reg); +/*extern WRegion *region_group_of(WRegion *reg);*/ + + typedef WStackingFilter WGroupIterFilter; typedef WStackingIterTmp WGroupIterTmp;