summaryrefslogtreecommitdiff
path: root/content/content_protected.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-11-12 22:48:00 +0000
committerVincent Sanders <vince@kyllikki.org>2019-11-12 22:48:00 +0000
commit185d0343236afbd1d900339b45c02985bd2d4ecb (patch)
tree9515af037dae2246ab3b7e822ae3aeee09b864ac /content/content_protected.h
parent074407d251dfb93bdd663fe0d26079c902bc3b12 (diff)
downloadnetsurf-185d0343236afbd1d900339b45c02985bd2d4ecb.tar.gz
netsurf-185d0343236afbd1d900339b45c02985bd2d4ecb.tar.bz2
make mouse track and mouse action content handlers return an error code
Diffstat (limited to 'content/content_protected.h')
-rw-r--r--content/content_protected.h4
1 files changed, 2 insertions, 2 deletions
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,