diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-19 17:51:38 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-19 17:51:38 +0000 |
commit | 0137991d3c78ec95d6d7fc386ae151d4359b308c (patch) | |
tree | 02dbec379311407f45fb48ffbf10a535a55a8283 /chrome | |
parent | f7838702ca4c4c33cf25329d61e533b8153da9a8 (diff) | |
download | chromium_src-0137991d3c78ec95d6d7fc386ae151d4359b308c.zip chromium_src-0137991d3c78ec95d6d7fc386ae151d4359b308c.tar.gz chromium_src-0137991d3c78ec95d6d7fc386ae151d4359b308c.tar.bz2 |
GTK: don't repaint render view on focus events.
similar to http://codereview.chromium.org/546051
BUG=none
TEST=gtkparasite
Review URL: http://codereview.chromium.org/536066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36526 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/renderer_host/render_widget_host_view_gtk.cc | 4 |
1 files changed, 2 insertions, 2 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 e59fc73..3ada2eb 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_gtk.cc +++ b/chrome/browser/renderer_host/render_widget_host_view_gtk.cc @@ -159,7 +159,7 @@ class RenderWidgetHostViewGtkWidget { // handler. host_view->im_context_->OnFocusIn(); - return FALSE; + return TRUE; } // WARNING: OnGrabNotify relies on the fact this function doesn't try to @@ -177,7 +177,7 @@ class RenderWidgetHostViewGtkWidget { // Disable the GtkIMContext object. host_view->im_context_->OnFocusOut(); - return FALSE; + return TRUE; } // Called when we are shadowed or unshadowed by a keyboard grab (which will |