diff options
author | okan | 2013-05-22 16:32:15 +0000 |
---|---|---|
committer | okan | 2013-05-22 16:32:15 +0000 |
commit | 1ea4db26e9ce71da6e81886df5de1c593f85d0f7 (patch) | |
tree | c99eab22e1a4de376da48e943cf065249e510319 /calmwm.h | |
parent | 4d300eb9f8360589cdd8e04c639a3cb9c13eb15d (diff) | |
download | cwm-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 '')
-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.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 *); |