--- 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