mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-28 04:14:08 +03:00
Throbber code was doing mad things with browser windows.
This commit is contained in:
parent
591cc91db8
commit
808783c2eb
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user