Compile warning
[notion/jeffpc.git] / ioncore / framep.h
blob6b49f2ebeb1757464c8017eab2cbf530f54fd897
1 /*
2 * ion/ioncore/framep.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
7 */
9 #ifndef ION_IONCORE_FRAMEP_H
10 #define ION_IONCORE_FRAMEP_H
12 #include "frame.h"
13 #include "llist.h"
15 #define FRAME_MCOUNT(FRAME) mplex_mx_count(&(FRAME)->mplex)
16 #define FRAME_CURRENT(FRAME) mplex_mx_current(&(FRAME)->mplex)
18 #define FRAME_MX_FOR_ALL(REG, FRAME, TMP) \
19 FOR_ALL_REGIONS_ON_LLIST(REG, (FRAME)->mplex.mx_list, TMP)
21 enum{
22 FRAME_AREA_NONE=0,
23 FRAME_AREA_BORDER=1,
24 FRAME_AREA_TAB=2,
25 FRAME_AREA_CLIENT=3
28 #define IONCORE_EVENTMASK_FRAME (FocusChangeMask| \
29 ButtonPressMask| \
30 ButtonReleaseMask| \
31 KeyPressMask| \
32 EnterWindowMask| \
33 ExposureMask| \
34 SubstructureRedirectMask)
36 #endif /* ION_IONCORE_FRAMEP_H */