diff options
author | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-14 07:03:28 +0000 |
---|---|---|
committer | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-14 07:03:28 +0000 |
commit | 8b10fb1d322e67c791026e4e97005b4063a3ddc5 (patch) | |
tree | d6c21b9b2fde132427b98272db084ea8ebe512db /chrome | |
parent | 39ab2c80b518843be90dae580e80654594c8be7a (diff) | |
download | chromium_src-8b10fb1d322e67c791026e4e97005b4063a3ddc5.zip chromium_src-8b10fb1d322e67c791026e4e97005b4063a3ddc5.tar.gz chromium_src-8b10fb1d322e67c791026e4e97005b4063a3ddc5.tar.bz2 |
A blind fix for Issue 13443.
GTK may sends a GdkKeyEvent whose |keyval| is GDK_KP_Tab in pressing shift+tab keys on an X terminal running on Windows.
This change just adds GDK_KP_Tab to HandleCustomAccelerator() to handle this event.
(This is a blind fix since I don't have any environment that can reproduce this issue.)
(*1) http://mail.gnome.org/archives/gtk-list/1999-September/msg00354.html
BUG=13443 "Shift+Ctrl+Tab should cycle tabs backwards"
TEST=none
Review URL: http://codereview.chromium.org/149519
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20611 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/gtk/browser_window_gtk.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.cc b/chrome/browser/gtk/browser_window_gtk.cc index 8b38146..621adf0 100644 --- a/chrome/browser/gtk/browser_window_gtk.cc +++ b/chrome/browser/gtk/browser_window_gtk.cc @@ -270,6 +270,7 @@ gboolean HandleCustomAccelerator(guint keyval, GdkModifierType modifier, break; case GDK_ISO_Left_Tab: + case GDK_KP_Tab: if ((GDK_CONTROL_MASK | GDK_SHIFT_MASK) == modifier) { browser->ExecuteCommand(IDC_SELECT_PREVIOUS_TAB); return TRUE; |