Mercurial > sdl-ios-xcode
annotate docs/man3/Makefile.am @ 983:7f08bd66f1ca
Date: Fri, 19 Nov 2004 06:23:53 -0800 (PST)
From: Eric Wing
Subject: OS X Mouse inversion problem fix (again)
Here's yet another patch for the OS X mouse inversion
problem. This should fix the problem once and for all.
I know I've said this before, but *This time for
sure!* :)
If you recall, my last patch broke the non-OpenGL
windowed code and caused the inversion to occur there
instead. Max submitted a patch that partially reverted
the changes back which included the os version hack
which is currently the most recent CVS.
Aaron Sullivan identified and reported to the mailing
list the other day, that the last partial regression
of the code broke OS X 10.2. Looking over the results,
I'm thinking that I was slightly more successful than
I thought at unifying the code. I think I was trying
to unify the code base for OpenGL and non-OpenGL
windowed modes for all versions of the OS. It looks
like I failed at at unifying the OpenGL and non-OpenGL
code, but I did succeed at unifying the OS versions.
Thus, we no longer need the hack for the OS version
checks. The partial regression still included an OS
check which is what broke things for < 10.3.
Attached is the patch for SDL_QuartzWM.m. It basically
is a half-line change that removes one of the two
checks that decides if the mouse coordinates need to
be inverted, i.e:
if (system_version >= 0x1030 &&
(SDL_VideoSurface->flags & SDL_OPENGL) )
becomes this:
if(SDL_VideoSurface->flags & SDL_OPENGL)
With Aaron's outstanding help, we have collectively
tested:
windowed OpenGL
windowed non-OpenGL
fullscreen OpenGL
fullscreen non-OpenGL
under OS X 10.2 (Jaguar), 10.3 (Panther), and 10.4
(Tiger).
We don't have access to 10.0 or 10.1, but since the
original problem didn't materialize until 10.3, I'm
hopeful that testing 10.2 is sufficient. And now that
the code is uniform, I'm also hoping we'll be safe
moving forward to deal with future revisions of the OS
with this issue.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 21 Nov 2004 00:57:47 +0000 |
parents | e5bc29de3f0a |
children |
rev | line source |
---|---|
0 | 1 man_MANS = \ |
2 SDLKey.3 \ | |
3 SDL_ActiveEvent.3 \ | |
4 SDL_AddTimer.3 \ | |
5 SDL_AudioCVT.3 \ | |
6 SDL_AudioSpec.3 \ | |
7 SDL_BlitSurface.3 \ | |
8 SDL_BuildAudioCVT.3 \ | |
9 SDL_CD.3 \ | |
10 SDL_CDClose.3 \ | |
11 SDL_CDEject.3 \ | |
12 SDL_CDName.3 \ | |
13 SDL_CDNumDrives.3 \ | |
14 SDL_CDOpen.3 \ | |
15 SDL_CDPause.3 \ | |
16 SDL_CDPlay.3 \ | |
17 SDL_CDPlayTracks.3 \ | |
18 SDL_CDResume.3 \ | |
19 SDL_CDStatus.3 \ | |
20 SDL_CDStop.3 \ | |
21 SDL_CDtrack.3 \ | |
22 SDL_CloseAudio.3 \ | |
23 SDL_Color.3 \ | |
24 SDL_CondBroadcast.3 \ | |
25 SDL_CondSignal.3 \ | |
26 SDL_CondWait.3 \ | |
27 SDL_CondWaitTimeout.3 \ | |
28 SDL_ConvertAudio.3 \ | |
29 SDL_ConvertSurface.3 \ | |
30 SDL_CreateCond.3 \ | |
31 SDL_CreateCursor.3 \ | |
32 SDL_CreateMutex.3 \ | |
33 SDL_CreateRGBSurface.3 \ | |
34 SDL_CreateRGBSurfaceFrom.3 \ | |
35 SDL_CreateSemaphore.3 \ | |
36 SDL_CreateThread.3 \ | |
37 SDL_CreateYUVOverlay.3 \ | |
38 SDL_Delay.3 \ | |
39 SDL_DestroyCond.3 \ | |
40 SDL_DestroyMutex.3 \ | |
41 SDL_DestroySemaphore.3 \ | |
42 SDL_DisplayFormat.3 \ | |
43 SDL_DisplayFormatAlpha.3 \ | |
44 SDL_DisplayYUVOverlay.3 \ | |
45 SDL_EnableKeyRepeat.3 \ | |
46 SDL_EnableUNICODE.3 \ | |
47 SDL_Event.3 \ | |
48 SDL_EventState.3 \ | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
49 SDL_ExposeEvent.3 \ |
0 | 50 SDL_FillRect.3 \ |
51 SDL_Flip.3 \ | |
52 SDL_FreeCursor.3 \ | |
53 SDL_FreeSurface.3 \ | |
54 SDL_FreeWAV.3 \ | |
55 SDL_FreeYUVOverlay.3 \ | |
56 SDL_GL_GetAttribute.3 \ | |
57 SDL_GL_GetProcAddress.3 \ | |
58 SDL_GL_LoadLibrary.3 \ | |
59 SDL_GL_SetAttribute.3 \ | |
60 SDL_GL_SwapBuffers.3 \ | |
61 SDL_GLattr.3 \ | |
62 SDL_GetAppState.3 \ | |
63 SDL_GetAudioStatus.3 \ | |
64 SDL_GetClipRect.3 \ | |
65 SDL_GetCursor.3 \ | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
66 SDL_GetError.3 \ |
0 | 67 SDL_GetEventFilter.3 \ |
68 SDL_GetGamma.3 \ | |
69 SDL_GetGammaRamp.3 \ | |
70 SDL_GetKeyName.3 \ | |
71 SDL_GetKeyState.3 \ | |
72 SDL_GetModState.3 \ | |
73 SDL_GetMouseState.3 \ | |
74 SDL_GetRGB.3 \ | |
75 SDL_GetRGBA.3 \ | |
76 SDL_GetRelativeMouseState.3 \ | |
77 SDL_GetThreadID.3 \ | |
78 SDL_GetTicks.3 \ | |
79 SDL_GetVideoInfo.3 \ | |
80 SDL_GetVideoSurface.3 \ | |
81 SDL_Init.3 \ | |
82 SDL_InitSubSystem.3 \ | |
83 SDL_JoyAxisEvent.3 \ | |
84 SDL_JoyBallEvent.3 \ | |
85 SDL_JoyButtonEvent.3 \ | |
86 SDL_JoyHatEvent.3 \ | |
87 SDL_JoystickClose.3 \ | |
88 SDL_JoystickEventState.3 \ | |
89 SDL_JoystickGetAxis.3 \ | |
90 SDL_JoystickGetBall.3 \ | |
91 SDL_JoystickGetButton.3 \ | |
92 SDL_JoystickGetHat.3 \ | |
93 SDL_JoystickIndex.3 \ | |
94 SDL_JoystickName.3 \ | |
95 SDL_JoystickNumAxes.3 \ | |
96 SDL_JoystickNumBalls.3 \ | |
97 SDL_JoystickNumButtons.3 \ | |
98 SDL_JoystickNumHats.3 \ | |
99 SDL_JoystickOpen.3 \ | |
100 SDL_JoystickOpened.3 \ | |
101 SDL_JoystickUpdate.3 \ | |
102 SDL_KeyboardEvent.3 \ | |
103 SDL_KillThread.3 \ | |
104 SDL_ListModes.3 \ | |
105 SDL_LoadBMP.3 \ | |
106 SDL_LoadWAV.3 \ | |
107 SDL_LockAudio.3 \ | |
108 SDL_LockSurface.3 \ | |
109 SDL_LockYUVOverlay.3 \ | |
110 SDL_MapRGB.3 \ | |
111 SDL_MapRGBA.3 \ | |
112 SDL_MixAudio.3 \ | |
113 SDL_MouseButtonEvent.3 \ | |
114 SDL_MouseMotionEvent.3 \ | |
115 SDL_NumJoysticks.3 \ | |
116 SDL_OpenAudio.3 \ | |
117 SDL_Overlay.3 \ | |
118 SDL_Palette.3 \ | |
119 SDL_PauseAudio.3 \ | |
120 SDL_PeepEvents.3 \ | |
121 SDL_PixelFormat.3 \ | |
122 SDL_PollEvent.3 \ | |
123 SDL_PumpEvents.3 \ | |
124 SDL_PushEvent.3 \ | |
125 SDL_Quit.3 \ | |
126 SDL_QuitEvent.3 \ | |
127 SDL_QuitSubSystem.3 \ | |
128 SDL_RWFromFile.3 \ | |
129 SDL_Rect.3 \ | |
130 SDL_RemoveTimer.3 \ | |
131 SDL_ResizeEvent.3 \ | |
132 SDL_SaveBMP.3 \ | |
133 SDL_SemPost.3 \ | |
134 SDL_SemTryWait.3 \ | |
135 SDL_SemValue.3 \ | |
136 SDL_SemWait.3 \ | |
137 SDL_SemWaitTimeout.3 \ | |
138 SDL_SetAlpha.3 \ | |
139 SDL_SetClipRect.3 \ | |
140 SDL_SetColorKey.3 \ | |
141 SDL_SetColors.3 \ | |
142 SDL_SetCursor.3 \ | |
143 SDL_SetEventFilter.3 \ | |
144 SDL_SetGamma.3 \ | |
145 SDL_SetGammaRamp.3 \ | |
146 SDL_SetModState.3 \ | |
147 SDL_SetPalette.3 \ | |
148 SDL_SetTimer.3 \ | |
149 SDL_SetVideoMode.3 \ | |
150 SDL_ShowCursor.3 \ | |
151 SDL_Surface.3 \ | |
152 SDL_SysWMEvent.3 \ | |
153 SDL_ThreadID.3 \ | |
154 SDL_UnlockAudio.3 \ | |
155 SDL_UnlockSurface.3 \ | |
156 SDL_UnlockYUVOverlay.3 \ | |
157 SDL_UpdateRect.3 \ | |
158 SDL_UpdateRects.3 \ | |
159 SDL_UserEvent.3 \ | |
160 SDL_VideoDriverName.3 \ | |
161 SDL_VideoInfo.3 \ | |
162 SDL_VideoModeOK.3 \ | |
163 SDL_WM_GetCaption.3 \ | |
164 SDL_WM_GrabInput.3 \ | |
165 SDL_WM_IconifyWindow.3 \ | |
166 SDL_WM_SetCaption.3 \ | |
167 SDL_WM_SetIcon.3 \ | |
168 SDL_WM_ToggleFullScreen.3 \ | |
169 SDL_WaitEvent.3 \ | |
170 SDL_WaitThread.3 \ | |
171 SDL_WarpMouse.3 \ | |
172 SDL_WasInit.3 \ | |
173 SDL_keysym.3 \ | |
174 SDL_mutexP.3 \ | |
175 SDL_mutexV.3 | |
176 EXTRA_DIST = $(man_MANS) |