X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fstacking.h;h=c08484ee6a76a9b9ac1e4b923e7c17f59485a2dc;hb=b355f9832d094cdb9e700e01cbc063e3fdb4f58b;hp=2810bdaa40617ba307091a782e93aa1f3728d5ec;hpb=471a5e5f9928e2d324b2e10422a420f458bd63ff;p=ion3.git diff --git a/ioncore/stacking.h b/ioncore/stacking.h index 2810bda..c08484e 100644 --- a/ioncore/stacking.h +++ b/ioncore/stacking.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_STACKING_H @@ -22,8 +19,8 @@ #define STACKING_LEVEL_ON_TOP 2 #define STACKING_LEVEL_MODAL1 1024 - #define STACKING_IS_HIDDEN(ST) ((ST)->hidden) +#define STACKING_IS_PSEUDOMODAL(ST) ((ST)->pseudomodal) DECLSTRUCT(WStacking){ @@ -37,6 +34,7 @@ DECLSTRUCT(WStacking){ /* flags */ uint to_unweave:2; uint hidden:1; + uint pseudomodal:1; /* WMPlex stuff */ WLListNode *lnode; @@ -100,6 +98,7 @@ uint stacking_min_level(WStacking *stacking, uint stacking_min_level_mapped(WStacking *stacking); +bool stacking_must_focus(WStacking *stacking, WStacking *st); WStacking *ioncore_find_stacking(WRegion *reg); void stacking_unassoc(WStacking *stacking);