Fix initial frame stack placement (fix www.theabar.co.uk and others)
svn path=/trunk/netsurf/; revision=2915
This commit is contained in:
parent
5a9af92cd1
commit
4780e39836
|
@ -328,10 +328,7 @@ struct gui_window *gui_create_browser_window(struct browser_window *bw,
|
||||||
|
|
||||||
/* Open the window at the top/back of the stack
|
/* Open the window at the top/back of the stack
|
||||||
*/
|
*/
|
||||||
if (bw->browser_window_type == BROWSER_WINDOW_NORMAL)
|
state.next = wimp_TOP;
|
||||||
state.next = wimp_TOP;
|
|
||||||
else
|
|
||||||
state.next = wimp_HIDDEN;
|
|
||||||
if (bw->parent) {
|
if (bw->parent) {
|
||||||
top = browser_window_owner(bw);
|
top = browser_window_owner(bw);
|
||||||
error = xwimp_open_window_nested((wimp_open *)&state, top->window->window,
|
error = xwimp_open_window_nested((wimp_open *)&state, top->window->window,
|
||||||
|
|
Loading…
Reference in New Issue