summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2009-06-17 12:30:17 +0000
committerokan <okan>2009-06-17 12:30:17 +0000
commitd7589ca80b81ca4f743e74c88629e4e39a86445d (patch)
tree2a34599cfd1e3ba089b2702a0c924802b3952936 /calmwm.h
parent3eec3b3802971d8bf784aff21b3e4bbcc48f7c13 (diff)
downloadcwm-d7589ca80b81ca4f743e74c88629e4e39a86445d.tar.gz
cwm-d7589ca80b81ca4f743e74c88629e4e39a86445d.tar.xz
cwm-d7589ca80b81ca4f743e74c88629e4e39a86445d.zip
move like defines to a central, logical location; no binary change.
aok oga@
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/calmwm.h b/calmwm.h
index 3c825cf..c796058 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -33,6 +33,12 @@
 #define ChildMask	(SubstructureRedirectMask|SubstructureNotifyMask)
 #define ButtonMask	(ButtonPressMask|ButtonReleaseMask)
 #define MouseMask	(ButtonMask|PointerMotionMask)
+#define KeyMask		(KeyPressMask|ExposureMask)
+#define MenuMask 	(ButtonMask|ButtonMotionMask|ExposureMask| \
+			PointerMotionMask)
+#define MenuGrabMask	(ButtonMask|ButtonMotionMask|StructureNotifyMask|\
+			PointerMotionMask)
+#define SearchMask	(KeyPressMask|ExposureMask)
 
 enum cwmcolor {
 	CWM_COLOR_BORDOR_ACTIVE,