diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-09 03:18:28 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-09 03:18:28 +0000 |
commit | 5230da2c8e4f589ed43b97e836cfef005a469881 (patch) | |
tree | 1e45bcd3d754e3514b9fb0f1d449b364f9f6a11a /views | |
parent | 0ad56d9a2a354b2d1c8b243e0fb768d3cafc4516 (diff) | |
download | chromium_src-5230da2c8e4f589ed43b97e836cfef005a469881.zip chromium_src-5230da2c8e4f589ed43b97e836cfef005a469881.tar.gz chromium_src-5230da2c8e4f589ed43b97e836cfef005a469881.tar.bz2 |
Fix last_mouse_move_*_ check, doh!
BUG=75367
TEST=Hover mouse on/off bookmarks for glow toggle, etc.
Review URL: http://codereview.chromium.org/6649014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77418 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/widget/widget_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/widget/widget_win.cc b/views/widget/widget_win.cc index af1446a..8eff3c9 100644 --- a/views/widget/widget_win.cc +++ b/views/widget/widget_win.cc @@ -956,7 +956,7 @@ bool WidgetWin::ProcessMouseMoved(UINT message, if (has_capture_ && is_mouse_down_) GetRootView()->OnMouseDragged(MouseEvent(msg)); else if (!last_mouse_event_was_move_ || - (last_mouse_move_x_ != GET_X_LPARAM(l_param) && + (last_mouse_move_x_ != GET_X_LPARAM(l_param) || last_mouse_move_y_ != GET_Y_LPARAM(l_param))) { last_mouse_move_x_ = GET_X_LPARAM(l_param); last_mouse_move_y_ = GET_Y_LPARAM(l_param); |