Updates:
Cc: takao.fujiwara1
Labels: Component-ibus
Comment #1 on issue 1184 by takao.fujiwara1: ibus loses timestamps for key
events
http://code.google.com/p/ibus/issues/detail?id=1184
This has a number of potential problems, but in particular because the
timestamp is not included when the event is sent to the daemon and
returned, the final key event that gets delivered will have a timestamp
of GDK_CURRENT_TIME.
How about the following patch?
https://github.com/fujiwarat/ibus/commit/b08c4262b6658b4f08150cade48713cb4e0cdc0e
I think this way can set the latest Time with gdk_event_put().
I tried to assign the new Time at first. My understanding is XEvent Time
uses gettimeofday() but the value is different from GdkEventKey Time in my
test.
I also tried gdk_x11_display_get_user_time(gdk_display_get_default()) but
it seems some KeyRelease event is not set in user_time.
--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en