projects
/
platform
/
upstream
/
ibus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e86a77c
)
Fix selection problem in gedit.
author
Huang Peng
<shawn.p.huang@gmail.com>
Wed, 27 Aug 2008 09:09:11 +0000
(17:09 +0800)
committer
Huang Peng
<shawn.p.huang@gmail.com>
Wed, 27 Aug 2008 09:09:11 +0000
(17:09 +0800)
client/gtk2/ibusimcontext.c
patch
|
blob
|
history
diff --git
a/client/gtk2/ibusimcontext.c
b/client/gtk2/ibusimcontext.c
index
80b13fb
..
991ef8c
100644
(file)
--- a/
client/gtk2/ibusimcontext.c
+++ b/
client/gtk2/ibusimcontext.c
@@
-479,9
+479,11
@@
_client_forward_event_cb (IBusIMClient *client, const gchar *ic, GdkEvent *event
event->any.send_event = TRUE;
if (event->type == GDK_KEY_PRESS ||
event->type == GDK_KEY_RELEASE) {
+ /*
GTimeVal time;
- g_get_current_time (&time);
event->key.time = time.tv_sec * 1000 + time.tv_usec / 1000;
+ */
+ event->key.time = GDK_CURRENT_TIME;
}
if (event->any.window != context->priv->client_window) {
GdkEvent _event = *event;