mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 04:56:50 +03:00
stop trying to redraw a browser window if its content is empty
svn path=/trunk/netsurf/; revision=10208
This commit is contained in:
parent
9aca901eb1
commit
11dbf5e589
@ -172,6 +172,10 @@ static void redraw(void)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (bw->current_content == NULL) {
|
||||
w = w->next;
|
||||
continue;
|
||||
}
|
||||
current_hwnd = w->drawingarea;
|
||||
w->scrolly += w->requestscrolly;
|
||||
w->scrollx += w->requestscrollx;
|
||||
|
Loading…
Reference in New Issue
Block a user