aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2013-05-22 16:32:15 +0000
committerokan2013-05-22 16:32:15 +0000
commit1ea4db26e9ce71da6e81886df5de1c593f85d0f7 (patch)
treec99eab22e1a4de376da48e943cf065249e510319 /calmwm.h
parent4d300eb9f8360589cdd8e04c639a3cb9c13eb15d (diff)
downloadcwm-1ea4db26e9ce71da6e81886df5de1c593f85d0f7.tar.gz
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/calmwm.h b/calmwm.h
index a80fde3..b139795 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.208 2013/05/21 00:29:20 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.209 2013/05/22 16:32:15 okan Exp $
*/
#ifndef _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 *);