[uim-commit] r530 - trunk/xim

ekato at freedesktop.org ekato at freedesktop.org
Fri Feb 4 21:17:28 PST 2005


Author: ekato
Date: 2005-02-04 21:17:25 -0800 (Fri, 04 Feb 2005)
New Revision: 530

Modified:
   trunk/xim/ximic.cpp
Log:
* xim/ximic.cpp (extra_input) : Revise previous fix.  Now
  "commit_string" from uim helper should works with all XIM
  clients.


Modified: trunk/xim/ximic.cpp
===================================================================
--- trunk/xim/ximic.cpp	2005-02-05 05:05:07 UTC (rev 529)
+++ trunk/xim/ximic.cpp	2005-02-05 05:17:25 UTC (rev 530)
@@ -466,14 +466,8 @@
 	return;
 
     commit_string(s);
-
-    XKeyEvent e;
-    e.type = KeyPress;
-    e.keycode = 0;
-    send_key_event(&e);
-
-    if (m_xatr.has_atr(ICA_FocusWindow))
-	force_event(m_xatr.focus_window);
+    onSendPacket();
+    force_send_packet();
 }
 
 void XimIC::force_send_packet(void) {



More information about the Uim-commit mailing list