From 29321bf3bd21c8ae6eebea00638ab3d1fd48b5e9 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 7 Jan 2011 13:20:47 +0000 Subject: 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 --- gtk/gtk_scaffolding.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk') 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) -- cgit v1.2.3