On Fri, 8 Aug 2008, John-Mark Bell wrote:
On Fri, 8 Aug 2008 [EMAIL PROTECTED] wrote:
Modified: branches/mikeL/netsurf/desktop/browser.c
URL:
http://source.netsurf-browser.org/branches/mikeL/netsurf/desktop/browser.c?rev=4960&r1=4959&r2=4960&view=diff
==============================================================================
--- branches/mikeL/netsurf/desktop/browser.c (original)
+++ branches/mikeL/netsurf/desktop/browser.c Fri Aug 8 13:35:08 2008
@@ -1538,7 +1538,10 @@
/* force download of link */
browser_window_go_post(bw, url, 0, 0, false,
c->url, true, true, 0);
-
+ } else if (mouse & BROWSER_MOUSE_CLICK_1 &&
+ mouse & BROWSER_MOUSE_MOD_2) {
+ /* open link in new tab */
+ browser_window_create(url, bw, NULL, TRUE, TRUE);
s/TRUE/true/g
Also, you want s/NULL/c->url/, too, as there's a referer in this case.
J.