src/gtkconv.c

changeset 11684
a9b687dd5db2
parent 11672
018c70c8134c
child 11686
6cba6a1d8208
--- a/src/gtkconv.c	Mon Oct 17 15:34:19 2005 +0000
+++ b/src/gtkconv.c	Mon Oct 17 16:42:10 2005 +0000
@@ -4527,7 +4527,13 @@
 
 	g_object_get(G_OBJECT(win->window), "has-toplevel-focus", &has_focus, NULL);
 
-	return has_focus;
+	if (has_focus)
+	{
+		GaimConversation *c = gaim_gtk_conv_window_get_active_conversation(win);
+		if (GAIM_GTK_CONVERSATION(c) == gtkconv)
+			return TRUE;
+	}
+	return FALSE;
 }
 
 static gboolean

mercurial