diff options
Diffstat (limited to 'content/content.c')
-rw-r--r-- | content/content.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/content/content.c b/content/content.c index a4f36e2f6..3df71b83f 100644 --- a/content/content.c +++ b/content/content.c @@ -746,6 +746,19 @@ bool content_scroll_at_point(struct hlcache_handle *h, } +bool content_drop_file_at_point(struct hlcache_handle *h, + int x, int y, char *file) +{ + struct content *c = hlcache_handle_get_content(h); + assert(c != 0); + + if (c->handler->drop_file_at_point != NULL) + return c->handler->drop_file_at_point(c, x, y, file); + + return false; +} + + void content_add_error(struct content *c, const char *token, unsigned int line) { |