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
This commit is contained in:
Richard Hult 2007-11-04 18:11:22 +00:00 committed by Richard Hult
parent f463aa3676
commit 821432ac4e
2 changed files with 12 additions and 0 deletions

View File

@ -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),

View File

@ -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);