summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2014-01-29 18:34:22 +0000
committerokan <okan>2014-01-29 18:34:22 +0000
commit1f8f19b4d50f59624e84a3c932b639670e0d8b27 (patch)
treec907b036ffb1255b4e60f3eefe6b50821c08fdf7 /calmwm.h
parentc28467cda5323f2251ed16a407fd77b7ec9e5ba6 (diff)
downloadcwm-1f8f19b4d50f59624e84a3c932b639670e0d8b27.tar.gz
cwm-1f8f19b4d50f59624e84a3c932b639670e0d8b27.tar.xz
cwm-1f8f19b4d50f59624e84a3c932b639670e0d8b27.zip
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.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index 4ea482e..389c269 100644
--- a/calmwm.h
+++ b/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);