From 808783c2ebb692ba84d21b9b5f8670b1ae61f03e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 25 Oct 2014 12:14:36 +0100 Subject: Throbber code was doing mad things with browser windows. --- riscos/window.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'riscos') diff --git a/riscos/window.c b/riscos/window.c index 8aeeea9a7..b7cb6e80c 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -4288,14 +4288,12 @@ void ro_gui_window_quit(void) void ro_gui_throb(void) { struct gui_window *g; - struct browser_window *top; for (g = window_list; g; g = g->next) { if (!g->active) continue; - for (top = g->bw; top->parent; top = top->parent); - if (top->window != NULL && top->window->toolbar != NULL) - ro_toolbar_throb(top->window->toolbar); + if (g->toolbar != NULL) + ro_toolbar_throb(g->toolbar); } } -- cgit v1.2.3