From f83d9ceb32e720b666f35606f4a8a53acae0e8c1 Mon Sep 17 00:00:00 2001 From: oga Date: Mon, 19 Nov 2007 22:18:16 +0000 Subject: 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@ --- calmwm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calmwm.h') 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 * 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 *); -- cgit v1.2.3-2-gb3c3