Fix my broken WM_MOUSEHOVER patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike Hearn: mike@theoretic.com

ChangeLog:

	- Make WM_MOUSEHOVER coordinates client relative rather than screen
relative as per MSDN documentation (oops)

Patch is relative to wine root, made with cvs diff, is this right?

-- 
Mike Hearn <m.hearn@signal.qinetiq.com>
QinetiQ - Malvern Technology Center
Index: windows/input.c
===================================================================
RCS file: /home/wine/wine/windows/input.c,v
retrieving revision 1.87
diff -r1.87 input.c
933a934
>     POINT posClient;
972a974,976
> 		posClient.x = pos.x;
> 		posClient.y = pos.y;
> 		ScreenToClient(hwnd, &posClient);
974c978
<                              get_key_state(), MAKELPARAM( pos.x, pos.y ));
---
>                              get_key_state(), MAKELPARAM( posClient.x, posClient.y ));

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux