summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2015-05-20 23:54:39 +0000
committerokan <okan>2015-05-20 23:54:39 +0000
commit31d4fe9f33d5bb80c3e490c5dbbbd774b0a124a4 (patch)
tree0b264464241430edf6bd709bf1a9ede506cd0b62 /calmwm.h
parentb9db4486da7e0fda4c90329bb66f646e0b2634de (diff)
downloadcwm-31d4fe9f33d5bb80c3e490c5dbbbd774b0a124a4.tar.gz
cwm-31d4fe9f33d5bb80c3e490c5dbbbd774b0a124a4.tar.xz
cwm-31d4fe9f33d5bb80c3e490c5dbbbd774b0a124a4.zip
fill in mwm defines
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h22
1 files changed, 19 insertions, 3 deletions
diff --git a/calmwm.h b/calmwm.h
index e8374ba..ddc60f2 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -304,11 +304,27 @@ struct mwm_hints {
 	unsigned long	functions;
 	unsigned long	decorations;
 };
-#define MWM_NUMHINTS		3
-#define	PROP_MWM_HINTS_ELEMENTS	3
-#define	MWM_HINTS_DECORATIONS	(1<<1)
+#define MWM_HINTS_ELEMENTS	3L
+
+#define MWM_FLAGS_FUNCTIONS	(1<<0)
+#define MWM_FLAGS_DECORATIONS	(1<<1)
+#define MWM_FLAGS_INPUT_MODE	(1<<2)
+#define MWM_FLAGS_STATUS	(1<<3)
+
+#define MWM_FUNCS_ALL		(1<<0)
+#define MWM_FUNCS_RESIZE	(1<<1)
+#define MWM_FUNCS_MOVE		(1<<2)
+#define MWM_FUNCS_MINIMIZE	(1<<3)
+#define MWM_FUNCS_MAXIMIZE	(1<<4)
+#define MWM_FUNCS_CLOSE		(1<<5)
+
 #define	MWM_DECOR_ALL		(1<<0)
 #define	MWM_DECOR_BORDER	(1<<1)
+#define MWM_DECOR_RESIZE_HANDLE	(1<<2)
+#define MWM_DECOR_TITLEBAR	(1<<3)
+#define MWM_DECOR_MENU		(1<<4)
+#define MWM_DECOR_MINIMIZE	(1<<5)
+#define MWM_DECOR_MAXIMIZE	(1<<6)
 
 extern Display				*X_Dpy;
 extern Time				 Last_Event_Time;