mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 15:29:45 +03:00
Use API to test for browser window having a content.
This commit is contained in:
parent
981e80c2ad
commit
feb5cd04e4
@ -1073,7 +1073,7 @@ static void gui_window_set_scroll(struct gui_window *g, int sx, int sy)
|
||||
static void gui_window_update_extent(struct gui_window *g)
|
||||
{
|
||||
//CALLED();
|
||||
if (!g->bw->current_content)
|
||||
if (browser_window_has_content(g->bw) == false)
|
||||
return;
|
||||
|
||||
if (g->view == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user