[uim-commit] r3000 - trunk/gtk

ekato at freedesktop.org ekato at freedesktop.org
Thu Jan 26 21:32:40 PST 2006


Author: ekato
Date: 2006-01-26 21:32:30 -0800 (Thu, 26 Jan 2006)
New Revision: 3000

Modified:
   trunk/gtk/gtk-im-uim.c
Log:
* gtk/gtk-im-uim.c (im_uim_init) : Initialize event_rec.time.
(handle_key_on_toplevel) : No need to record hardware_keycode
  for now.


Modified: trunk/gtk/gtk-im-uim.c
===================================================================
--- trunk/gtk/gtk-im-uim.c	2006-01-27 05:18:11 UTC (rev 2999)
+++ trunk/gtk/gtk-im-uim.c	2006-01-27 05:32:30 UTC (rev 3000)
@@ -700,6 +700,7 @@
 #if IM_UIM_USE_TOPLEVEL
   uic->widget = NULL;
   uic->in_toplevel = FALSE;
+  uic->event_rec.time = 0;
 #endif
   uic->menu = NULL;
   uic->caret_state_indicator = NULL;
@@ -1217,7 +1218,6 @@
     int rv, kv, mod;
 
     uic->event_rec.time = event->time;
-    uic->event_rec.hardware_keycode = event->hardware_keycode;
 
     im_uim_convert_keyevent(event, &kv, &mod);
 



More information about the uim-commit mailing list