2
Description: sed s/gtk2/gtk3/g ibus-xx-f19-password.patch
3
diff --git a/client/gtk3/ibusimcontext.c b/client/gtk3/ibusimcontext.c
4
index eef062c..d644d69 100644
5
--- a/client/gtk3/ibusimcontext.c
6
+++ b/client/gtk3/ibusimcontext.c
7
@@ -845,6 +845,18 @@ ibus_im_context_focus_in (GtkIMContext *context)
10
/* don't set focus on password entry */
11
+#if GTK_CHECK_VERSION (3, 6, 0)
13
+ GtkInputPurpose purpose;
15
+ g_object_get (G_OBJECT (context),
16
+ "input-purpose", &purpose,
19
+ if (purpose == GTK_INPUT_PURPOSE_PASSWORD)
23
if (ibusimcontext->client_window != NULL) {