[uim-commit] r383 - in trunk: gtk qt/quiminputcontextplugin/src qt/quiminputcontextplugin-qt4

kzk@freedesktop.org kzk@freedesktop.org
Fri Jan 28 11:52:51 PST 2005


Author: kzk
Date: 2005-01-28 11:52:38 -0800 (Fri, 28 Jan 2005)
New Revision: 383

Modified:
   trunk/gtk/gtk-im-uim.c
   trunk/qt/quiminputcontextplugin-qt4/quiminputcontext.cpp
   trunk/qt/quiminputcontextplugin/src/quiminputcontext.cpp
Log:
* check helper connection before calling uim_helper_client_focus_out()

* gtk/gtk-im-uim.c
  - (focus_out): check helper connection before calling calling
    uim_helper_client_focus_out()
* qt/quiminputcontextplugin/src/quiminputcontext.cpp
  - (unsetFocus): Ditto
* qt/quiminputcontextplugin-qt4/quiminputcontext.cpp
  - (unsetFocus): Ditto




Modified: trunk/gtk/gtk-im-uim.c
===================================================================
--- trunk/gtk/gtk-im-uim.c	2005-01-28 19:22:01 UTC (rev 382)
+++ trunk/gtk/gtk-im-uim.c	2005-01-28 19:52:38 UTC (rev 383)
@@ -482,6 +482,8 @@
     snooper_installed = FALSE;
   }
 
+  check_helper_connection();
+
   uim_helper_client_focus_out(uic->uc);
 
   if (uic->cwin) {

Modified: trunk/qt/quiminputcontextplugin/src/quiminputcontext.cpp
===================================================================
--- trunk/qt/quiminputcontextplugin/src/quiminputcontext.cpp	2005-01-28 19:22:01 UTC (rev 382)
+++ trunk/qt/quiminputcontextplugin/src/quiminputcontext.cpp	2005-01-28 19:52:38 UTC (rev 383)
@@ -295,6 +295,8 @@
 
     cwin->hide();
 
+    m_HelperManager->checkHelperConnection();
+
     uim_helper_client_focus_out( m_uc );
 }
 

Modified: trunk/qt/quiminputcontextplugin-qt4/quiminputcontext.cpp
===================================================================
--- trunk/qt/quiminputcontextplugin-qt4/quiminputcontext.cpp	2005-01-28 19:22:01 UTC (rev 382)
+++ trunk/qt/quiminputcontextplugin-qt4/quiminputcontext.cpp	2005-01-28 19:52:38 UTC (rev 383)
@@ -257,6 +257,8 @@
 
     cwin->hide();
 
+    m_HelperManager->checkHelperConnection();
+
     uim_helper_client_focus_out( m_uc );
 }
 



More information about the Uim-commit mailing list