TrackMouseEvent patch

For those who have a development environment and want to try this out early,
here is the patch I’m going to build tonight…

Index: src/video/wincommon/SDL_sysevents.c===================================================================
RCS file: /cvs/SDL/src/video/wincommon/SDL_sysevents.c,v
retrieving revision 1.7
diff -u -r1.7 SDL_sysevents.c
— src/video/wincommon/SDL_sysevents.c 2000/01/17 05:26:23 1.7
+++ src/video/wincommon/SDL_sysevents.c 2000/01/22 00:48:51
@@ -66,8 +66,13 @@
rjr 01/06/2000:
- fixed TrackMouseEvent/SDL_APPMOUSEFOCUS syncronization
- changed over to standard _WIN32_WINNT macro usage

+/
+/

  • SOL012100 - Win95 needs _TrackMouseEvent(), rendering most of

  • the rest of the compatibility code superfluous. It’s left there

  • in case this file is built with _WIN32_WINNT < 0x0400
    */
    +#define TrackMouseEvent _TrackMouseEvent
    #ifdef _WIN32_WINNT
    #if(_WIN32_WINNT < 0x0400)

    -Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec