summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/views/tabs/tab.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/tabs/tab.cc b/chrome/browser/views/tabs/tab.cc
index 5fa6d8d..37f8db1 100644
--- a/chrome/browser/views/tabs/tab.cc
+++ b/chrome/browser/views/tabs/tab.cc
@@ -162,7 +162,7 @@ void Tab::GetHitTestMask(gfx::Path* mask) const {
}
bool Tab::OnMousePressed(const views::MouseEvent& event) {
- if (event.IsLeftMouseButton()) {
+ if (event.IsOnlyLeftMouseButton()) {
// Store whether or not we were selected just now... we only want to be
// able to drag foreground tabs, so we don't start dragging the tab if
// it was in the background.