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

Unified Diff: chrome/browser/gtk/gtk_util.cc

Issue 3005014: GTK: fix navigation button click logic. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 months 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: chrome/browser/gtk/gtk_util.cc
diff --git a/chrome/browser/gtk/gtk_util.cc b/chrome/browser/gtk/gtk_util.cc
index e417d19677b7322d29fb6b340566e7df74158d54..f0bfb550f0f5dec0e1adfab23b44da614f943089 100644
--- a/chrome/browser/gtk/gtk_util.cc
+++ b/chrome/browser/gtk/gtk_util.cc
@@ -55,7 +55,7 @@ gboolean OnMouseButtonPressed(GtkWidget* widget, GdkEventButton* event,
}
gint button_mask = GPOINTER_TO_INT(userdata);
- if (button_mask && (1 << event->button))
+ if (button_mask & (1 << event->button))
gtk_button_pressed(GTK_BUTTON(widget));
}
« 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