diff options
author | Richard Hult <richard@imendio.com> | 2007-11-04 18:11:22 +0000 |
---|---|---|
committer | Richard Hult <rhult@src.gnome.org> | 2007-11-04 18:11:22 +0000 |
commit | 821432ac4e9548dd339b362af582fb4071a06448 (patch) | |
tree | 8773d4fee1913e96e81a705846b60cc3965027f4 | |
parent | f463aa36760d078cfd7cf42246d7cbee0239b21b (diff) | |
download | gdk-pixbuf-821432ac4e9548dd339b362af582fb4071a06448.tar.gz |
Make shift tab work with unicode layouts (e.g. all Leopard layouts), fixes
2007-11-04 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Make shift
tab work with unicode layouts (e.g. all Leopard layouts), fixes
bug #493404.
svn path=/trunk/; revision=18967
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gdk/quartz/gdkkeys-quartz.c | 6 |
2 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2007-11-04 Richard Hult <richard@imendio.com> + + * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Make shift + tab work with unicode layouts (e.g. all Leopard layouts), fixes + bug #493404. + 2007-11-03 Richard Hult <richard@imendio.com> * gtk/gtkclipboard-quartz.c: (clipboard_owner_destroyed), diff --git a/gdk/quartz/gdkkeys-quartz.c b/gdk/quartz/gdkkeys-quartz.c index dd8b63e29..7a2448b50 100644 --- a/gdk/quartz/gdkkeys-quartz.c +++ b/gdk/quartz/gdkkeys-quartz.c @@ -322,6 +322,12 @@ maybe_update_keymap (void) break; } } + + /* Special-case shift-tab since GTK+ expects + * GDK_ISO_Left_Tab for that. + */ + if (found && p[j] == GDK_Tab && modifiers[j] == shiftKey) + p[j] = GDK_ISO_Left_Tab; if (!found) p[j] = gdk_unicode_to_keyval (uc); |