From f598226be4d3bef18a1440534dede8d5ff60aa56 Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Sun, 23 Dec 2007 13:56:34 +0000 Subject: [PATCH] Don't copy current tab when using -remote In init_remote_session, pass open_uri_in_new_tab a false argument for the based parameter so that the new tab does not get the old tabs current location in its history. --- src/session/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session/session.c b/src/session/session.c index 2197dfee5..bbc1682a4 100644 --- a/src/session/session.c +++ b/src/session/session.c @@ -932,7 +932,7 @@ init_remote_session(struct session *ses, enum remote_session_flags *remote_ptr, * inaccessible. Maybe we should not support this kind * of thing or make the window focus detecting code * more intelligent. --jonas */ - open_uri_in_new_tab(ses, uri, 0, 1); + open_uri_in_new_tab(ses, uri, 0, 0); if (remote & SES_REMOTE_PROMPT_URL) { dialog_goto_url_open(ses);