diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-08-20 12:12:10 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-08-20 12:12:10 +0100 |
commit | a4f796e217373daa0498b85ed8f231d1a194daa4 (patch) | |
tree | 726588871afeece364e2aacd941638a45e4eb304 /desktop | |
parent | 7d4af30468b3d217f6a9ba2c01483329db94a367 (diff) | |
download | netsurf-a4f796e217373daa0498b85ed8f231d1a194daa4.tar.gz netsurf-a4f796e217373daa0498b85ed8f231d1a194daa4.tar.bz2 |
Let *_drop_file_at_point determine if a drop is possible.
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/browser.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/desktop/browser.h b/desktop/browser.h index 489a7edad..306124d30 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -269,13 +269,14 @@ bool browser_window_scroll_at_point(struct browser_window *bw, int x, int y, int scrx, int scry); /** - * Drop a file onto a browser window at a particular point. + * Drop a file onto a browser window at a particular point, or determine if a + * file may be dropped onto the content at given point. * * \param bw browser window to look inside * \param x x-coordinate of point of interest * \param y y-coordinate of point of interest - * \param file path to file to be dropped - * \return true iff file drop has been handled + * \param file path to file to be dropped, or NULL to know if drop allowed + * \return true iff file drop has been handled, or if drop possible (NULL file) */ bool browser_window_drop_file_at_point(struct browser_window *bw, int x, int y, char *file); |