On Sat, Dec 13, 2014 at 07:38:09AM +0530, Mayuresh wrote:
> When using
>
> elinks -remote openURL(URL, new-tab)
>
> I find that elinks immediately focuses on the new tab.
>
> Is there a way to keep new-tab loading in the background instead of
> immediately focusing on it?
If you apply this patch, the tabs will be loaded in background.
diff --git a/src/session/session.c b/src/session/session.c
index 244a97e..0178d70 100644
--- a/src/session/session.c
+++ b/src/session/session.c
@@ -962,7 +962,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, 0);
+ open_uri_in_new_tab(ses, uri, 1, 0);
if (remote & SES_REMOTE_PROMPT_URL) {
dialog_goto_url_open(ses);
--
http://lists.linuxfromscratch.org/listinfo/elinks-users
Unsubscribe: See the above information page