Special-case shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.

2006-09-06  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
	shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
This commit is contained in:
Richard Hult 2006-09-06 17:29:28 +00:00 committed by Richard Hult
parent 0f830ba9d9
commit 7724832996
2 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2006-09-06 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
2006-09-04 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):

View File

@ -248,6 +248,12 @@ maybe_update_keymap (void)
}
}
/* 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);
}