From 185d0343236afbd1d900339b45c02985bd2d4ecb Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 12 Nov 2019 22:48:00 +0000 Subject: make mouse track and mouse action content handlers return an error code --- content/content_protected.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/content_protected.h') diff --git a/content/content_protected.h b/content/content_protected.h index f0a95b64d..ec62a2183 100644 --- a/content/content_protected.h +++ b/content/content_protected.h @@ -52,9 +52,9 @@ struct content_handler { void (*reformat)(struct content *c, int width, int height); void (*destroy)(struct content *c); void (*stop)(struct content *c); - void (*mouse_track)(struct content *c, struct browser_window *bw, + nserror (*mouse_track)(struct content *c, struct browser_window *bw, browser_mouse_state mouse, int x, int y); - void (*mouse_action)(struct content *c, struct browser_window *bw, + nserror (*mouse_action)(struct content *c, struct browser_window *bw, browser_mouse_state mouse, int x, int y); bool (*keypress)(struct content *c, uint32_t key); bool (*redraw)(struct content *c, struct content_redraw_data *data, -- cgit v1.2.3