Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: views/controls/menu/native_menu_gtk.cc

Issue 5206002: Fix context menus for touchui=1 (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/menu/native_menu_gtk.cc
diff --git a/views/controls/menu/native_menu_gtk.cc b/views/controls/menu/native_menu_gtk.cc
index a0b2b0a4ab4c4fbb09a002682d5883f3ae57ad43..3aa6c3e9ee155806b4209d2788b79af11ad1734e 100644
--- a/views/controls/menu/native_menu_gtk.cc
+++ b/views/controls/menu/native_menu_gtk.cc
@@ -124,7 +124,7 @@ void NativeMenuGtk::RunMenuAt(const gfx::Point& point, int alignment) {
G_CALLBACK(OnMenuMoveCurrentThunk), this);
// Block until menu is no longer shown by running a nested message loop.
- nested_dispatcher_ = new NestedDispatcherGtk(this, false);
+ nested_dispatcher_ = new NestedDispatcherGtk(this, true);
bool deleted = nested_dispatcher_->RunAndSelfDestruct();
if (deleted) {
// The menu was destryed while menu is shown, so return immediately.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698