mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 04:56:50 +03:00
Brand new windows should not be cloning an existing browser_window or they pick up old
local history. Brand new tabs should not either but that appears to be unavoidable at present. svn path=/trunk/netsurf/; revision=11872
This commit is contained in:
parent
4021924ea1
commit
46915c6b7b
@ -1339,15 +1339,15 @@ void ami_handle_msg(void)
|
||||
case 'n':
|
||||
if((option_kiosk_mode == false) &&
|
||||
(gwin->bw->browser_window_type == BROWSER_WINDOW_NORMAL))
|
||||
browser_window_create(NULL, gwin->bw,
|
||||
browser_window_create(option_homepage_url, NULL,
|
||||
0, true, false);
|
||||
break;
|
||||
|
||||
case 't':
|
||||
if((option_kiosk_mode == false) &&
|
||||
(gwin->bw->browser_window_type == BROWSER_WINDOW_NORMAL))
|
||||
browser_window_create(NULL, gwin->bw,
|
||||
0, true, true);
|
||||
browser_window_create(option_homepage_url,
|
||||
gwin->bw, 0, true, true);
|
||||
break;
|
||||
|
||||
case 'k':
|
||||
|
@ -490,7 +490,7 @@ void ami_menupick(ULONG code,struct gui_window_2 *gwin,struct MenuItem *item)
|
||||
switch(itemnum)
|
||||
{
|
||||
case 0: // new window
|
||||
bw = browser_window_create(option_homepage_url, gwin->bw, 0, true, openwin);
|
||||
bw = browser_window_create(option_homepage_url, NULL, 0, true, openwin);
|
||||
break;
|
||||
|
||||
case 1: // new tab
|
||||
|
Loading…
Reference in New Issue
Block a user