diff options
Diffstat (limited to 'views/widget/widget_win.h')
-rw-r--r-- | views/widget/widget_win.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/views/widget/widget_win.h b/views/widget/widget_win.h index cec2537..2a9562c 100644 --- a/views/widget/widget_win.h +++ b/views/widget/widget_win.h @@ -318,6 +318,14 @@ class WidgetWin : public Widget, return ::GetClientRect(GetNativeView(), rect); } + // Resets the last move flag so that we can go around the optimization + // that disregards duplicate mouse moves when ending animation requires + // a new hit-test to do some highlighting as in TabStrip::RemoveTabAnimation + // to cause the close button to highlight. + void ResetLastMouseMoveFlag() { + last_mouse_event_was_move_ = false; + } + protected: // Call close instead of this to Destroy the window. |