Add NEWS bug entry for previous FvwmForm commit.
[fvwm.git] / fvwm / eventmask.h
blobea347a388a8520c737a2cc217a734d5ffd0007aa
1 /* -*-c-*- */
3 #ifndef EVENTMASK_H
4 #define EVENTMASK_H
6 /* ---------------------------- global definitions ------------------------- */
8 #define XEVMASK_FRAMEW \
9 (SubstructureRedirectMask | VisibilityChangeMask | \
10 EnterWindowMask | LeaveWindowMask)
11 #define XEVMASK_FRAMEW_CAPTURE (XEVMASK_FRAMEW | StructureNotifyMask)
12 #define XEVMASK_TITLEW \
13 (ButtonPressMask | ButtonReleaseMask | \
14 OwnerGrabButtonMask | /*ButtonMotionMask | PointerMotionMask | */\
15 EnterWindowMask | LeaveWindowMask)
16 #define XEVMASK_BUTTONW \
17 XEVMASK_TITLEW
18 #define XEVMASK_PARENTW \
19 (SubstructureRedirectMask)
20 #define XEVMASK_BORDERW \
21 (ButtonPressMask | ButtonReleaseMask | \
22 EnterWindowMask | LeaveWindowMask)
23 #define XEVMASK_CLIENTW \
24 (StructureNotifyMask | PropertyChangeMask | \
25 EnterWindowMask | LeaveWindowMask | \
26 ColormapChangeMask | FocusChangeMask)
27 #define XEVMASK_ICONW \
28 (ButtonPressMask | ButtonReleaseMask | \
29 VisibilityChangeMask | ExposureMask | KeyPressMask | KeyReleaseMask | \
30 EnterWindowMask | LeaveWindowMask | FocusChangeMask)
31 #define XEVMASK_ICONPW \
32 XEVMASK_ICONW
33 #define XEVMASK_MENU \
34 (ButtonPressMask | ButtonReleaseMask | ExposureMask | KeyReleaseMask | \
35 KeyPressMask | VisibilityChangeMask | ButtonMotionMask | \
36 PointerMotionMask)
37 #define XEVMASK_TEAR_OFF_MENU \
38 (XEVMASK_MENU | LeaveWindowMask | EnterWindowMask)
39 #define XEVMASK_MENUW \
40 (ExposureMask | KeyPressMask | KeyReleaseMask)
41 #define XEVMASK_TEAR_OFF_MENUW \
42 (XEVMASK_MENUW | EnterWindowMask | LeaveWindowMask | \
43 StructureNotifyMask)
44 #define XEVMASK_TEAR_OFF_SUBMENUW \
45 (XEVMASK_MENUW | LeaveWindowMask)
46 #define XEVMASK_PANFW \
47 (ButtonPressMask | ButtonReleaseMask | KeyReleaseMask | KeyPressMask | \
48 EnterWindowMask | LeaveWindowMask | VisibilityChangeMask)
49 #define XEVMASK_NOFOCUSW \
50 (KeyPressMask | KeyReleaseMask | FocusChangeMask)
51 #define XEVMASK_MENUNFW \
52 (KeyPressMask | KeyReleaseMask | FocusChangeMask)
53 #define XEVMASK_ORW \
54 (FocusChangeMask)
55 #define XEVMASK_ROOTW \
56 (LeaveWindowMask| EnterWindowMask | \
57 PropertyChangeMask | SubstructureRedirectMask | KeyPressMask | \
58 KeyReleaseMask | \
59 SubstructureNotifyMask | ColormapChangeMask | \
60 STROKE_CODE(ButtonMotionMask | DEFAULT_ALL_BUTTONS_MOTION_MASK |) \
61 ButtonPressMask | ButtonReleaseMask)
62 #define XEVMASK_RESIZE \
63 (ButtonPressMask | ButtonReleaseMask | KeyPressMask | \
64 PointerMotionMask | ButtonMotionMask | ExposureMask)
65 #define XEVMASK_RESIZE_OPAQUE \
66 (XEVMASK_RESIZE | PropertyChangeMask)
68 #endif /* EVENTMASK_H */