changeset 13866:cf6f32628f8f

[gaim-migrate @ 16332] No need to redraw a widget if the focus didn't change. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 24 Jun 2006 20:32:18 +0000
parents d78ab363e02d
children a092ea4edd4e
files console/libgnt/gntbox.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/console/libgnt/gntbox.c	Sat Jun 24 20:06:37 2006 +0000
+++ b/console/libgnt/gntbox.c	Sat Jun 24 20:32:18 2006 +0000
@@ -202,7 +202,7 @@
 				now = box->list;
 		}
 
-		if (now)
+		if (now && now != box->active)
 		{
 			gnt_widget_set_focus(box->active->data, FALSE);
 			box->active = now;