aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authoroga2007-11-19 22:18:16 +0000
committeroga2007-11-19 22:18:16 +0000
commitf83d9ceb32e720b666f35606f4a8a53acae0e8c1 (patch)
treedee33862587d9ae70482f8e3f8ec4d523c77c1cd /calmwm.h
parentc59a5b8d0a2cad51f2d69c38f8d7bf7c16ae9605 (diff)
downloadcwm-f83d9ceb32e720b666f35606f4a8a53acae0e8c1.tar.gz
Make cwm default keybindings always exist. Additional keybindings now
overlap with the new ones, overriding them. Also a new "unmap" keyword in binding definitions now unmaps a binding without adding a new one. This seriously shrinks the ~/.calmwm/.keys directory of anyone who defines their own bindings whilst wanting some of the defaults. Looked over, liked and ok todd@
Diffstat (limited to '')
-rw-r--r--calmwm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index 269c213..741feb5 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -4,7 +4,7 @@
* Copyright (c) 2004 Marius Aamodt Eriksen <marius@monkey.org>
* All rights reserved.
*
- * $Id: calmwm.h,v 1.11 2007/11/13 23:26:04 todd Exp $
+ * $Id: calmwm.h,v 1.12 2007/11/19 22:18:16 oga Exp $
*/
#ifndef _CALMWM_H_
@@ -406,6 +406,7 @@ void conf_client(struct client_ctx *);
void conf_bindkey(struct conf *, void (*)(struct client_ctx *, void *),
int, int, int, void *);
void conf_bindname(struct conf *, char *, char *);
+void conf_unbind(struct conf *, struct keybinding *);
void conf_parsekeys(struct conf *, char *);
void conf_parsesettings(struct conf *, char *);
void conf_parseignores(struct conf *, char *);