diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-10 00:26:30 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-10 00:26:30 +0000 |
commit | df33f99d90ac431f91ceb7e354d3677f44309833 (patch) | |
tree | d7ec809572e8497b163253c6bd6e74a8e0193adc /views | |
parent | 1b40f97474b42d85c2f84cba2c9811666fd43e6e (diff) | |
download | chromium_src-df33f99d90ac431f91ceb7e354d3677f44309833.zip chromium_src-df33f99d90ac431f91ceb7e354d3677f44309833.tar.gz chromium_src-df33f99d90ac431f91ceb7e354d3677f44309833.tar.bz2 |
Fix menu click bug.
TBR=chocobo@chromium.org
BUG=chromium-os:8718
TEST=open context/status menu and test if mouse click selects the menu item.
Review URL: http://codereview.chromium.org/4692002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65600 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/controls/menu/native_menu_gtk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/menu/native_menu_gtk.cc b/views/controls/menu/native_menu_gtk.cc index d570807..96b31f0 100644 --- a/views/controls/menu/native_menu_gtk.cc +++ b/views/controls/menu/native_menu_gtk.cc @@ -242,7 +242,7 @@ bool NativeMenuGtk::Dispatch(GdkEvent* event) { case GDK_BUTTON_PRESS: case GDK_2BUTTON_PRESS: case GDK_3BUTTON_PRESS: { - ignore_button_release_ = true; + ignore_button_release_ = false; gpointer data = NULL; gdk_window_get_user_data(((GdkEventAny*)event)->window, &data); GtkWidget* widget = reinterpret_cast<GtkWidget*>(data); |