[uim-commit] r2998 - trunk/gtk

ekato at freedesktop.org ekato at freedesktop.org
Thu Jan 26 08:39:36 PST 2006


Author: ekato
Date: 2006-01-26 08:39:32 -0800 (Thu, 26 Jan 2006)
New Revision: 2998

Modified:
   trunk/gtk/gtk-im-uim.c
Log:
* gtk/gtk-im-uim.c (filter_keypress) : Don't check keycode.


Modified: trunk/gtk/gtk-im-uim.c
===================================================================
--- trunk/gtk/gtk-im-uim.c	2006-01-26 15:38:13 UTC (rev 2997)
+++ trunk/gtk/gtk-im-uim.c	2006-01-26 16:39:32 UTC (rev 2998)
@@ -272,9 +272,9 @@
 #elif IM_UIM_USE_TOPLEVEL
   /*
    * Sometimes key events are emitted from other than top level
-   * widget, so check time of the event and hardware_keycode...
+   * widget, so check time of the event...
    */
-  if (!cur_toplevel || ((key->time != uic->event_rec.time) && (key->hardware_keycode != key->hardware_keycode))) {
+  if (!cur_toplevel || key->time != uic->event_rec.time) {
 #else
   if (TRUE) {
 #endif



More information about the uim-commit mailing list