[uim-commit] r257 - trunk/gtk

ekato@freedesktop.org ekato@freedesktop.org
Tue Jan 11 10:38:59 PST 2005


Author: ekato
Date: 2005-01-11 10:38:57 -0800 (Tue, 11 Jan 2005)
New Revision: 257

Modified:
   trunk/gtk/gtk-im-uim.c
Log:
* gtk/gtk-im-uim.c (focus_in) : Fix occasional mismatch of helper
  label with focus in.  uim_helper_client_focus_in() is definitely
  needed to be called before uim_prop_list_update() and
  uim_prop_label_update.  This sequence is required to make sure the
  exsitence of only one focused context in whole desktop.


Modified: trunk/gtk/gtk-im-uim.c
===================================================================
--- trunk/gtk/gtk-im-uim.c	2005-01-11 17:21:03 UTC (rev 256)
+++ trunk/gtk/gtk-im-uim.c	2005-01-11 18:38:57 UTC (rev 257)
@@ -456,6 +456,8 @@
 
   check_helper_connection();
 
+  uim_helper_client_focus_in(uic->uc);
+
   uim_prop_list_update(uic->uc);
   uim_prop_label_update(uic->uc);
 
@@ -468,8 +470,6 @@
   if (uic->cwin && uic->cwin_is_active) {
     gtk_widget_show(GTK_WIDGET(uic->cwin));
   }
-
-  uim_helper_client_focus_in(uic->uc);
 }
 
 static void



More information about the Uim-commit mailing list