summaryrefslogtreecommitdiff
path: root/desktop/browser.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-04-04 18:07:44 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-04-04 18:07:44 +0000
commitaed81aa91750769bdea8881a1f56c25b7ba1b5b5 (patch)
tree57b9f23c333fae6fc87f61853e0776e10a36bcb2 /desktop/browser.h
parent19c77ff2b141b49042cd9abc549e376dc4530497 (diff)
downloadnetsurf-aed81aa91750769bdea8881a1f56c25b7ba1b5b5.tar.gz
netsurf-aed81aa91750769bdea8881a1f56c25b7ba1b5b5.tar.bz2
[project @ 2004-04-04 18:07:44 by jmb]
Add pointer to containing content struct to box_selection and update box_under_area accordingly This ensures relative links in frames etc. are url_joined correctly. svn path=/import/netsurf/; revision=721
Diffstat (limited to 'desktop/browser.h')
-rw-r--r--desktop/browser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/browser.h b/desktop/browser.h
index 072201766..be237cbe7 100644
--- a/desktop/browser.h
+++ b/desktop/browser.h
@@ -81,6 +81,7 @@ struct browser_action
struct box_selection
{
+ struct content *content;
struct box* box;
int actual_x;
int actual_y;
@@ -99,7 +100,7 @@ void browser_window_destroy(struct browser_window *bw);
int browser_window_action(struct browser_window* bw, struct browser_action* act);
-void box_under_area(struct box* box, unsigned long x, unsigned long y, unsigned long ox, unsigned long oy,
+void box_under_area(struct content *content, struct box* box, unsigned long x, unsigned long y, unsigned long ox, unsigned long oy,
struct box_selection** found, int* count, int* plot_index);
int box_position_lt(struct box_position* x, struct box_position* y);