From 08fa24dca333c81539bb60aedcaa48ce1bee7beb Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 29 Jan 2014 18:34:22 +0000 Subject: Check command name/path for truncation and provide user feedback during config parse (and use conf_cmd_add to populate defaults); based on a discussion with Tiago Cunha. While this looks ugly, there are likely some other changes here to come. --- calmwm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 729c048..930fc12 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.248 2014/01/28 20:22:21 okan Exp $ + * $OpenBSD: calmwm.h,v 1.249 2014/01/29 18:34:22 okan Exp $ */ #ifndef _CALMWM_H_ @@ -522,7 +522,7 @@ int conf_bind_mouse(struct conf *, const char *, const char *); void conf_clear(struct conf *); void conf_client(struct client_ctx *); -void conf_cmd_add(struct conf *, const char *, +int conf_cmd_add(struct conf *, const char *, const char *); void conf_cursor(struct conf *); void conf_grab_kbd(Window); -- cgit v1.2.3-2-gb3c3