mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 05:27:00 +03:00
Ensure we only update the favicon rendering when the icon being updated is the one in the active tab.
svn path=/trunk/netsurf/; revision=11244
This commit is contained in:
parent
234301ad23
commit
29321bf3bd
@ -1837,6 +1837,8 @@ void gui_window_set_icon(struct gui_window *_g, hlcache_handle *icon)
|
||||
|
||||
if (icon == NULL)
|
||||
return;
|
||||
if (g->top_level != _g)
|
||||
return;
|
||||
|
||||
#ifdef WITH_BMP
|
||||
if (content_get_type(icon) == CONTENT_ICO)
|
||||
|
Loading…
Reference in New Issue
Block a user