/pidgin/main: 887606eec74b: Always focus the entry when forwardi...

Elliott Sales de Andrade qulogic at pidgin.im
Tue Aug 14 04:03:26 EDT 2012


Changeset: 887606eec74b00f5b7f3638ead9459152dcf2e2a
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2012-08-12 04:03 -0400
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/887606eec74b

Description:

Always focus the entry when forwarding keys from the display.

This should fix input method problems, and I'm not really sure why
this extra check currently exists.

Fixes #15159.

diffstat:

 pidgin/gtkconv.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (14 lines):

diff --git a/pidgin/gtkconv.c b/pidgin/gtkconv.c
--- a/pidgin/gtkconv.c
+++ b/pidgin/gtkconv.c
@@ -2265,9 +2265,7 @@ refocus_entry_cb(GtkWidget *widget, GdkE
 		return FALSE;
 	}
 
-	if (event->type == GDK_KEY_RELEASE)
-		gtk_widget_grab_focus(gtkconv->entry);
-
+	gtk_widget_grab_focus(gtkconv->entry);
 	gtk_widget_event(gtkconv->entry, (GdkEvent *)event);
 
 	return TRUE;



More information about the Commits mailing list