2 * Motif Window Manager definitions
4 * Copyright 2001 Ove Kåven, TransGaming Technologies Inc.
5 * (these definitions were found in GTK+ 1.2, gdk/MwmUtil.h)
12 unsigned long functions;
13 unsigned long decorations;
16 } MotifWmHints, MwmHints;
18 #define MWM_HINTS_FUNCTIONS 1
19 #define MWM_HINTS_DECORATIONS 2
20 #define MWM_HINTS_INPUT_MODE 4
21 #define MWM_HINTS_STATUS 8
23 #define MWM_FUNC_ALL 0x01
24 #define MWM_FUNC_RESIZE 0x02
25 #define MWM_FUNC_MOVE 0x04
26 #define MWM_FUNC_MINIMIZE 0x08
27 #define MWM_FUNC_MAXIMIZE 0x10
28 #define MWM_FUNC_CLOSE 0x20
30 #define MWM_DECOR_ALL 0x01
31 #define MWM_DECOR_BORDER 0x02
32 #define MWM_DECOR_RESIZEH 0x04
33 #define MWM_DECOR_TITLE 0x08
34 #define MWM_DECOR_MENU 0x10
35 #define MWM_DECOR_MINIMIZE 0x20
36 #define MWM_DECOR_MAXIMIZE 0x40
38 #define MWM_INPUT_MODELESS 0
39 #define MWM_INPUT_PRIMARY_APPLICATION_MODAL 1
40 #define MWM_INPUT_SYSTEM_MODAL 2
41 #define MWM_INPUT_FULL_APPLICATION_MODAL 3
42 #define MWM_INPUT_APPLICATION_MODAL 1
44 #define MWM_TEAROFF_WINDOW 1
49 } MotifWmInfo, MwmInfo;
51 #define MWM_INFO_STARTUP_STANDARD 1
52 #define MWM_INFO_STARTUP_CUSTOM 2
54 #define _XA_MOTIF_WM_HINTS "_MOTIF_WM_HINTS"
55 #define _XA_MOTIF_WM_MESSAGES "_MOTIF_WM_MESSAGES"
56 #define _XA_MOTIF_WM_OFFSET "_MOTIF_WM_OFFSET"
57 #define _XA_MOTIF_WM_MENU "_MOTIF_WM_MENU"
58 #define _XA_MOTIF_WM_INFO "_MOTIF_WM_INFO"
60 #define _XA_MWM_HINTS _XA_MOTIF_WM_HINTS
61 #define _XA_MWM_MESSAGES _XA_MOTIF_WM_MESSAGES
62 #define _XA_MWM_MENU _XA_MOTIF_WM_MENU
63 #define _XA_MWM_INFO _XA_MOTIF_WM_INFO
65 #endif /* __WINE_MWM_H */