summaryrefslogtreecommitdiff
path: root/plugins/FloatingContacts/src/thumbs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FloatingContacts/src/thumbs.cpp')
-rw-r--r--plugins/FloatingContacts/src/thumbs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/FloatingContacts/src/thumbs.cpp b/plugins/FloatingContacts/src/thumbs.cpp
index a060262332..7101b78803 100644
--- a/plugins/FloatingContacts/src/thumbs.cpp
+++ b/plugins/FloatingContacts/src/thumbs.cpp
@@ -683,14 +683,14 @@ void ThumbInfo::OnTimer(BYTE idTimer)
}
}
if (bEnableTip && fcOpt.bShowTip && idTimer == TIMERID_HOVER_T) {
- POINT pt;
- CLCINFOTIP ti = { 0 };
- ti.cbSize = sizeof(ti);
-
KillTimer(hwnd, TIMERID_HOVER_T);
fTipTimerActive = FALSE;
+
+ POINT pt;
GetCursorPos(&pt);
if (abs(pt.x - ptTipSt.x) < 5 && abs(pt.y - ptTipSt.y) < 5) {
+ CLCINFOTIP ti = { 0 };
+ ti.cbSize = sizeof(ti);
ti.ptCursor = pt;
fTipActive = TRUE;