]> Pileus Git - ~andy/gtk/commit
GtkPlug: fix handling of key events for different layouts
authorOwen W. Taylor <otaylor@fishsoup.net>
Mon, 30 Apr 2012 19:33:49 +0000 (15:33 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 30 Apr 2012 20:35:10 +0000 (16:35 -0400)
commit0aa989ae76d0d080eae16b8a4fde59aca1227cc4
tree2de4fe30b58ab2d83e4b49d588be78e30db18cde
parent2f81a58573e98cd6220e8617ed122fa509ddaf10
GtkPlug: fix handling of key events for different layouts

GtkPlug directly handles X KeyPress/Release events, instead of using
translation in GDK (which expects XI2 events for XI2). When this
was done, the handling of the group was stubbed out and never replaced.

Export gdk_keymap_x11_group_for_state() and gdk_keymap_x11_is_modifier()
so we can fill out the fields correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=675167
docs/reference/gdk/gdk-docs.sgml
docs/reference/gdk/gdk3-sections.txt
gdk/gdk.symbols
gdk/x11/gdkdevicemanager-core-x11.c
gdk/x11/gdkdevicemanager-xi2.c
gdk/x11/gdkkeys-x11.c
gdk/x11/gdkprivate-x11.h
gdk/x11/gdkx11keys.h
gtk/gtkplug.c