4 * Copyright (c) Tuomo Valkonen 1999-2007.
6 * Ion is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
12 #ifndef ION_IONCORE_FRAMEP_H
13 #define ION_IONCORE_FRAMEP_H
18 #define FRAME_MCOUNT(FRAME) mplex_mx_count(&(FRAME)->mplex)
19 #define FRAME_CURRENT(FRAME) mplex_mx_current(&(FRAME)->mplex)
21 #define FRAME_MX_FOR_ALL(REG, FRAME, TMP) \
22 FOR_ALL_REGIONS_ON_LLIST(REG, (FRAME)->mplex.mx_list, TMP)
31 #define IONCORE_EVENTMASK_FRAME (FocusChangeMask| \
37 SubstructureRedirectMask)
39 #endif /* ION_IONCORE_FRAMEP_H */