diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-05 00:34:36 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-05 00:34:36 +0000 |
commit | 57e3074163dc21bc3bc8cd37dc05f191532d836a (patch) | |
tree | 58e6dca578fc64893c17e7271665761faece42a6 | |
parent | a5bdb0b3f5dc0c7676d32e6a2043b5a68584a833 (diff) | |
download | chromium_src-57e3074163dc21bc3bc8cd37dc05f191532d836a.zip chromium_src-57e3074163dc21bc3bc8cd37dc05f191532d836a.tar.gz chromium_src-57e3074163dc21bc3bc8cd37dc05f191532d836a.tar.bz2 |
Linux: show the correct cursor when the render view regains focus.
BUG=11407
Review URL: http://codereview.chromium.org/105002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15256 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/renderer_host/render_widget_host_view_gtk.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host_view_gtk.cc b/chrome/browser/renderer_host/render_widget_host_view_gtk.cc index c03de50..35ac146 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_gtk.cc +++ b/chrome/browser/renderer_host/render_widget_host_view_gtk.cc @@ -96,7 +96,8 @@ class RenderWidgetHostViewGtkWidget { } static gboolean OnFocusIn(GtkWidget* widget, GdkEventFocus* focus, - RenderWidgetHostViewGtk* host_view) { + RenderWidgetHostViewGtk* host_view) { + host_view->ShowCurrentCursor(); host_view->GetRenderWidgetHost()->Focus(); return FALSE; } |