X-Git-Url: https://git.decadent.org.uk/gitweb/?p=ion3.git;a=blobdiff_plain;f=ioncore%2Fstacking.h;h=c1754ae793ba32b79743d5428c27429c0e1d1ea9;hp=2810bdaa40617ba307091a782e93aa1f3728d5ec;hb=e3aec18706513a87eaa7839dfdaf7e0fcd0d8d2a;hpb=803afbc1cd633f6c025bcd9537e9b7e9aedadd0d diff --git a/ioncore/stacking.h b/ioncore/stacking.h index 2810bda..c1754ae 100644 --- a/ioncore/stacking.h +++ b/ioncore/stacking.h @@ -1,12 +1,9 @@ /* * ion/ioncore/stacking.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_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);