diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2011-01-07 13:20:47 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2011-01-07 13:20:47 +0000 |
commit | 29321bf3bd21c8ae6eebea00638ab3d1fd48b5e9 (patch) | |
tree | 8386e7619d6dda967590d91361fd498800cf605e | |
parent | 234301ad236bea4b2afd2c1499f6d48f3939b2d2 (diff) | |
download | netsurf-29321bf3bd21c8ae6eebea00638ab3d1fd48b5e9.tar.gz netsurf-29321bf3bd21c8ae6eebea00638ab3d1fd48b5e9.tar.bz2 |
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
-rw-r--r-- | gtk/gtk_scaffolding.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtk_scaffolding.c b/gtk/gtk_scaffolding.c index 073d85776..c767f5414 100644 --- a/gtk/gtk_scaffolding.c +++ b/gtk/gtk_scaffolding.c @@ -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) |