Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/eb35a576c1b5845d4aa6b2b77d8039f49f048edc
...commit
http://git.netsurf-browser.org/netsurf.git/commit/eb35a576c1b5845d4aa6b2b77d8039f49f048edc
...tree
http://git.netsurf-browser.org/netsurf.git/tree/eb35a576c1b5845d4aa6b2b77d8039f49f048edc
The branch, master has been updated
via eb35a576c1b5845d4aa6b2b77d8039f49f048edc (commit)
from 6d39b569c700ddfa405c5c9a7a49320be2945997 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commitdiff/eb35a576c1b5845d4aa6b2b77d8039f49f048edc
commit eb35a576c1b5845d4aa6b2b77d8039f49f048edc
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
Can get root element node directly from within the html content handler.
Avoids using hlcache_handle which needs to go.
diff --git a/render/html_interaction.c b/render/html_interaction.c
index 4d21b22..b6f2dc6 100644
--- a/render/html_interaction.c
+++ b/render/html_interaction.c
@@ -392,7 +392,7 @@ void html_mouse_action(struct content *c, struct
browser_window *bw,
/* search the box tree for a link, imagemap, form control, or
* box with scrollbars */
- box = html_get_box_tree(h);
+ box = html->layout;
/* Consider the margins of the html page now */
box_x = box->margin[LEFT];
@@ -725,7 +725,7 @@ void html_mouse_action(struct content *c, struct
browser_window *bw,
/* if clicking in the main page, remove the selection from any
* text areas */
if (!done) {
- struct box *layout = html_get_box_tree(h);
+ struct box *layout = html->layout;
if (mouse && (mouse < BROWSER_MOUSE_MOD_1) &&
selection_root(&html->sel) != layout) {
-----------------------------------------------------------------------
Summary of changes:
render/html_interaction.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/render/html_interaction.c b/render/html_interaction.c
index 4d21b22..b6f2dc6 100644
--- a/render/html_interaction.c
+++ b/render/html_interaction.c
@@ -392,7 +392,7 @@ void html_mouse_action(struct content *c, struct
browser_window *bw,
/* search the box tree for a link, imagemap, form control, or
* box with scrollbars */
- box = html_get_box_tree(h);
+ box = html->layout;
/* Consider the margins of the html page now */
box_x = box->margin[LEFT];
@@ -725,7 +725,7 @@ void html_mouse_action(struct content *c, struct
browser_window *bw,
/* if clicking in the main page, remove the selection from any
* text areas */
if (!done) {
- struct box *layout = html_get_box_tree(h);
+ struct box *layout = html->layout;
if (mouse && (mouse < BROWSER_MOUSE_MOD_1) &&
selection_root(&html->sel) != layout) {
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org