File diff r3801:be92f06ae224 → r3802:47131899ed0a
video/win32_v.c
Show inline comments
 
@@ -202,7 +202,7 @@ static void CALLBACK TrackMouseTimerProc
 
	 * Compare this with the current screen coordinates of the mouse and if it
 
	 * falls outside of the area or our window we have left the window. */
 
	GetClientRect(hwnd, &rc);
 
	MapWindowPoints(hwnd, HWND_DESKTOP, (LPPOINT)&rc, 2);
 
	MapWindowPoints(hwnd, HWND_DESKTOP, (LPPOINT)(LPRECT)&rc, 2);
 
	GetCursorPos(&pt);
 

	
 
	if (!PtInRect(&rc, pt) || (WindowFromPoint(pt) != hwnd)) {