SDL-mirror/src
Sam Lantinga 7834f53adf Fixed bug #899
Jeremiah Morris      2009-12-09 16:23:50 PST

Re-enable mouseLocation workaround on 10.4, 10.5

OS X systems before 10.6 have a bug with [NSEvent mouseLocation] if the screen
resolution changes. SDL_QuartzVideo.m contains a workaround for this bug, but
it was placed inside an #ifdef in revision 4762. The comment reads, "I'm
gambling they fixed this by 10.4."

After seeing this bug on several Tiger and Leopard systems (both PPC and
Intel), I can confirm that it's not fixed until 10.6. The workaround doesn't
compile for x86_64/10.6, so I can understand why it was segregated, but it
needs to remain in place for the i386 and ppc versions. The workaround causes
no problems under 10.6, even though it's not necessary there.

Patch is attached with one method of keeping the workaround active on the
systems that need it.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404288
2009-12-11 15:11:49 +00:00
..
audio Forgot a check for Coldfire CPU 2009-11-09 18:02:32 +00:00
cdrom Update for include file locations 2009-11-06 17:42:14 +00:00
cpuinfo Missing pop over a jump 2009-12-03 04:20:46 +00:00
events Changed environment variable to match Debian patch 205_lock_keys.diff 2009-10-10 09:02:17 +00:00
file Allow Unicode filenames in RWOPS on Windows. 2009-10-08 07:48:37 +00:00
hermes Deal with ELF underscores on Solaris with Sun Studio. 2008-09-14 21:45:04 +00:00
joystick Fixed bug #888 2009-11-17 05:14:23 +00:00
loadso Fixed dynamic loading on Windows CE 2009-05-07 12:03:51 +00:00
main Use MacOS line endings for Mac resource files 2009-10-18 16:23:12 +00:00
stdlib Fixed bug #896 2009-12-11 08:00:57 +00:00
thread Possibly fixed bug #601, definitely fixed a potential issue with threads 2009-09-23 06:35:28 +00:00
timer Adapt timer code for Coldfire 2009-11-07 20:56:09 +00:00
video Fixed bug #899 2009-12-11 15:11:49 +00:00
SDL.c Updated copyright date 2008-12-08 00:25:42 +00:00
SDL_error.c Updated copyright date 2008-12-08 00:25:42 +00:00
SDL_error_c.h Updated copyright date 2008-12-08 00:25:42 +00:00
SDL_fatal.c Updated copyright date 2008-12-08 00:25:42 +00:00
SDL_fatal.h Updated copyright date 2008-12-08 00:25:42 +00:00