diff options
author | okan | 2014-01-29 18:34:22 +0000 |
---|---|---|
committer | okan | 2014-01-29 18:34:22 +0000 |
commit | 08fa24dca333c81539bb60aedcaa48ce1bee7beb (patch) | |
tree | cb65a6853aed7befbde97e10baa51336719f0b46 /calmwm.h | |
parent | 673041f76297706b7679f3140891e8ab1dd548d8 (diff) | |
download | cwm-08fa24dca333c81539bb60aedcaa48ce1bee7beb.tar.gz |
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 '')
-rw-r--r-- | calmwm.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |