aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2015-03-26 21:41:43 +0000
committerokan2015-03-26 21:41:43 +0000
commite06df87fd38b7a9c3e3f0d2d60330dd2e387cf54 (patch)
tree26f263089ece16894bf082ce4597bfbb3678f0b4 /calmwm.h
parenta55e0af46fbc1047e925f07b909e550d44543f58 (diff)
downloadcwm-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/calmwm.h b/calmwm.h
index 955d9fc..03783cd 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -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);