diff options
author | okan | 2015-03-26 21:41:43 +0000 |
---|---|---|
committer | okan | 2015-03-26 21:41:43 +0000 |
commit | e06df87fd38b7a9c3e3f0d2d60330dd2e387cf54 (patch) | |
tree | 26f263089ece16894bf082ce4597bfbb3678f0b4 /calmwm.h | |
parent | a55e0af46fbc1047e925f07b909e550d44543f58 (diff) | |
download | cwm-e06df87fd38b7a9c3e3f0d2d60330dd2e387cf54.tar.gz |
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 '')
-rw-r--r-- | calmwm.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.284 2015/01/19 14:54:16 okan Exp $ + * $OpenBSD: calmwm.h,v 1.285 2015/03/26 21:41:43 okan Exp $ */ #ifndef _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); |