summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-09-04 20:34:09 -0400
committerMatthias Clasen <mclasen@redhat.com>2009-09-04 20:34:09 -0400
commit6b7fef09ca588ce6e24bb76284adf3fee576f6a5 (patch)
tree00af0085512c81f8957d5e9c2be33afcbc80a374
parent5c14089225e5706af90e0c195d2e95886bef6418 (diff)
downloadgtk+-6b7fef09ca588ce6e24bb76284adf3fee576f6a5.tar.gz
Don't forget to set the client window on the slave
-rw-r--r--gtk/gtkimmulticontext.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkimmulticontext.c b/gtk/gtkimmulticontext.c
index 69a8625ee8..2ec8b32582 100644
--- a/gtk/gtkimmulticontext.c
+++ b/gtk/gtkimmulticontext.c
@@ -289,6 +289,9 @@ gtk_im_multicontext_set_client_window (GtkIMContext *context,
if (g_strcmp0 (multicontext->context_id, get_effective_context_id (multicontext)) != 0)
gtk_im_multicontext_set_slave (multicontext, NULL, FALSE);
+
+ if (multicontext->slave)
+ gtk_im_context_set_client_window (multicontext->slave, window);
}
static void