diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-09-06 16:48:40 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-09-06 16:48:40 +0000 |
commit | 7c7bcb243f2c0f4c6568de7b3a4a7f656c1ca87c (patch) | |
tree | 042659cbc8ddb12a2086f500659ad8a90fceceb1 /modules | |
parent | 66257c44e0df116b2c55390b1dbad8c5217a6ef2 (diff) | |
download | gdk-pixbuf-7c7bcb243f2c0f4c6568de7b3a4a7f656c1ca87c.tar.gz |
Pass the actual input keycode to XIM, rather than the result of
Fri Sep 6 12:41:16 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c: Pass the actual input
keycode to XIM, rather than the result of backconverting
the keysym. Fixes the <> input problem! (#74922)
* gtk/gtkimmodule.c: Fix bug where GTK_IM_MODULE environment
variable couldn't be used to force the input method to
the default input method.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/input/gtkimcontextxim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/input/gtkimcontextxim.c b/modules/input/gtkimcontextxim.c index d46501af6..c4e3439e8 100644 --- a/modules/input/gtkimcontextxim.c +++ b/modules/input/gtkimcontextxim.c @@ -375,7 +375,7 @@ gtk_im_context_xim_filter_keypress (GtkIMContext *context, xevent.x = xevent.x_root = 0; xevent.y = xevent.y_root = 0; xevent.state = event->state; - xevent.keycode = event->keyval ? XKeysymToKeycode (xevent.display, event->keyval) : 0; + xevent.keycode = event->hardware_keycode; xevent.same_screen = True; if (XFilterEvent ((XEvent *)&xevent, GDK_DRAWABLE_XID (context_xim->client_window))) |