diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 03:34:21 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 03:34:21 +0000 |
commit | e3ecc42b385ab2e6dc6e37c11cc52e15fb755185 (patch) | |
tree | ae0ce6284418a7bc503de0b82b6a25f56a3b683f /views/focus/accelerator_handler_gtk.cc | |
parent | daa7e219693a55b08e211ad2191866932f74b68e (diff) | |
download | chromium_src-e3ecc42b385ab2e6dc6e37c11cc52e15fb755185.zip chromium_src-e3ecc42b385ab2e6dc6e37c11cc52e15fb755185.tar.gz chromium_src-e3ecc42b385ab2e6dc6e37c11cc52e15fb755185.tar.bz2 |
Fixes bug in previous change. In AcceleratorHandler if there is no
WidgetGtk we should dispatch the event, not eat it.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/165183
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23009 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/focus/accelerator_handler_gtk.cc')
-rw-r--r-- | views/focus/accelerator_handler_gtk.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/views/focus/accelerator_handler_gtk.cc b/views/focus/accelerator_handler_gtk.cc index 16984ab..8b52b98 100644 --- a/views/focus/accelerator_handler_gtk.cc +++ b/views/focus/accelerator_handler_gtk.cc @@ -33,6 +33,7 @@ bool AcceleratorHandler::Dispatch(GdkEvent* event) { if (!widget) { // During dnd we get events for windows we don't control (such as the // window being dragged). + gtk_main_do_event(event); return true; } FocusManager* focus_manager = widget->GetFocusManager(); |