summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authoroga <oga>2007-11-19 22:18:16 +0000
committeroga <oga>2007-11-19 22:18:16 +0000
commit3341229c74b64a725995dc95726a76ebab157b6b (patch)
tree61395bdcf47d2003cbfd4e4edc061adaf7c4aa23 /calmwm.h
parentebebed71bd2e4f425a2ada2fd69c4f839a174104 (diff)
downloadcwm-3341229c74b64a725995dc95726a76ebab157b6b.tar.gz
cwm-3341229c74b64a725995dc95726a76ebab157b6b.tar.xz
cwm-3341229c74b64a725995dc95726a76ebab157b6b.zip
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 'calmwm.h')
-rw-r--r--calmwm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/calmwm.h b/calmwm.h
index 922b1ae..9f45265 100644
--- a/calmwm.h
+++ b/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 *);