/*
* ion/ioncore/stacking.h
*
- * Copyright (c) Tuomo Valkonen 1999-2006.
+ * 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
#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){
/* flags */
uint to_unweave:2;
uint hidden:1;
+ uint pseudomodal:1;
/* WMPlex stuff */
WLListNode *lnode;
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);