summaryrefslogtreecommitdiffstats
path: root/chrome/views/aero_tooltip_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/aero_tooltip_manager.cc')
-rw-r--r--chrome/views/aero_tooltip_manager.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/views/aero_tooltip_manager.cc b/chrome/views/aero_tooltip_manager.cc
index 7e665a1..5977644 100644
--- a/chrome/views/aero_tooltip_manager.cc
+++ b/chrome/views/aero_tooltip_manager.cc
@@ -58,6 +58,11 @@ void AeroTooltipManager::OnMouse(UINT u_msg, WPARAM w_param, LPARAM l_param) {
}
}
+void AeroTooltipManager::OnMouseLeave() {
+ last_mouse_x_ = last_mouse_y_ = -1;
+ UpdateTooltip();
+}
+
///////////////////////////////////////////////////////////////////////////////
// AeroTooltipManager, private: