summaryrefslogtreecommitdiff
path: root/riscos/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/window.c')
-rw-r--r--riscos/window.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/riscos/window.c b/riscos/window.c
index 25ec359e8..df9c49ab7 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -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
*/
- if (bw->browser_window_type == BROWSER_WINDOW_NORMAL)
- state.next = wimp_TOP;
- else
- state.next = wimp_HIDDEN;
+ state.next = wimp_TOP;
if (bw->parent) {
top = browser_window_owner(bw);
error = xwimp_open_window_nested((wimp_open *)&state, top->window->window,