summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2015-03-26 21:41:43 +0000
committerokan <okan>2015-03-26 21:41:43 +0000
commitbad97699f9142838adec5005dc7a44d6b5bb187e (patch)
tree7d7ecc0234dfc11fe1f35b496df6607e627d6480 /calmwm.h
parentac42dff6c1a55baf1f73a98dee9b6c4541b64e7b (diff)
downloadcwm-bad97699f9142838adec5005dc7a44d6b5bb187e.tar.gz
cwm-bad97699f9142838adec5005dc7a44d6b5bb187e.tar.xz
cwm-bad97699f9142838adec5005dc7a44d6b5bb187e.zip
Simplify key/mb binding moving argtype into flags and dropping another
variable; removes the need to zero out struct binding, leaving a simple
malloc.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index 0e5652a..1d1cbe5 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -84,6 +84,7 @@
 #define CWM_NOGAP		0x0002
 
 #define CWM_WIN			0x0001
+#define CWM_CMD			0x0002
 
 #define CWM_QUIT		0x0000
 #define CWM_RUNNING		0x0001
@@ -252,7 +253,6 @@ struct binding {
 	unsigned int		 modmask;
 	union press		 press;
 	int			 flags;
-	int			 argtype;
 };
 TAILQ_HEAD(keybinding_q, binding);
 TAILQ_HEAD(mousebinding_q, binding);