browser_window: Dispatch page info notification on root browser

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
Daniel Silverstone 2019-12-01 18:38:51 +00:00
parent 09f6c50980
commit b2f98e7092
No known key found for this signature in database
GPG Key ID: C30DF439F2987D74
1 changed files with 2 additions and 1 deletions

View File

@ -820,7 +820,8 @@ static nserror browser_window_content_ready(struct browser_window *bw)
/* Indicate page status may have changed */
if (res == NSERROR_OK) {
res = guit->window->event(bw->window, GW_EVENT_PAGE_INFO_CHANGE);
struct browser_window *root = browser_window_get_root(bw);
res = guit->window->event(root->window, GW_EVENT_PAGE_INFO_CHANGE);
}
return res;