about summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2013-05-22 16:32:15 +0000
committerokan <okan>2013-05-22 16:32:15 +0000
commit532f132194751bd2f530a13c243a30c76f66bfaa (patch)
tree5391a5e9a32ad16e575203ffde8479c2a2d58c14 /calmwm.h
parent866f5af9c746d84e68ab1a376c18f96581fb0765 (diff)
downloadcwm-532f132194751bd2f530a13c243a30c76f66bfaa.tar.gz
cwm-532f132194751bd2f530a13c243a30c76f66bfaa.tar.xz
cwm-532f132194751bd2f530a13c243a30c76f66bfaa.zip
move validation of pointer Button into conf_mousebind so we check
validity during the parse phase and not bother adding it to the queue,
instead of each time a client needs to grab (when it's too late);
furthermore, make this a config error, stop parsing and load the
default config.
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 b925c2c..16901b3 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -439,7 +439,7 @@ void			 conf_grab(struct conf *, struct keybinding *);
 void			 conf_grab_mouse(struct client_ctx *);
 void			 conf_init(struct conf *);
 void			 conf_ignore(struct conf *, char *);
-void			 conf_mousebind(struct conf *, char *, char *);
+int			 conf_mousebind(struct conf *, char *, char *);
 void			 conf_screen(struct screen_ctx *);
 void			 conf_ungrab(struct conf *, struct keybinding *);