annotate README.AmigaOS @ 4391:07b330419439 SDL-1.2

Fixed bug #849 some more: Tim Angus 2009-11-26 14:41:04 PST Fix to the cursor not being responsive when the app doesn't have SDL_APPINPUTFOCUS The problems with the directx driver are similar to the ones I introduced in the windib driver with r4478. Basically if the application did not have focus, the mouse position is not updated. It's not really that the mouse cursor was invisible, it's that it is stuck underneath another window where you can't see it. This behaviour predates my r4478 changes and is the reason I unwittingly broke the windib driver as I had been replicating the way the directx driver deals with focus. Prior to r4478 the directx driver could not be used in windowed mode, so the broken focusing would not have actually been observable. Anyway, the attached patch makes the directx driver behaves like the windib driver in terms of focus. Time for 1.2.15? ;) I've added an additional change of moving the calls to WIN_GrabInput that are made on WM_ACTIVATE messages so that they only occur when the state is SDL_APPINPUTFOCUS. When a fullscreen application is minimised using alt-tab, it still receives WM_ACTIVATE messages when other applications are selected. If WIN_GrabInput is called when the SDL application doesn't have input focus, bad things happen; it shouldn't be being called at all. I've also added a line to make sure that SDL_APPMOUSEFOCUS state is dropped when the application is minimised following an alt-tab.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 11 Dec 2009 15:24:53 +0000
parents 6d2e1961661a
children
rev   line source
3888
6d2e1961661a Removed broken AmigaOS support.
Ryan C. Gordon <icculus@icculus.org>
parents: 21
diff changeset
1 The AmigaOS code has been removed from SDL, since it had been broken for a
6d2e1961661a Removed broken AmigaOS support.
Ryan C. Gordon <icculus@icculus.org>
parents: 21
diff changeset
2 long time and had a few bits of fairly invasive code #ifdef'd into the
6d2e1961661a Removed broken AmigaOS support.
Ryan C. Gordon <icculus@icculus.org>
parents: 21
diff changeset
3 SDL core.
21
75a95f82bc1f Updated the Amiga OS port of SDL (thanks Gabriele)
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
4
3888
6d2e1961661a Removed broken AmigaOS support.
Ryan C. Gordon <icculus@icculus.org>
parents: 21
diff changeset
5 However, there is an OS4 version of SDL here:
6d2e1961661a Removed broken AmigaOS support.
Ryan C. Gordon <icculus@icculus.org>
parents: 21
diff changeset
6 http://www.rcdrummond.net/amiga/index.html
21
75a95f82bc1f Updated the Amiga OS port of SDL (thanks Gabriele)
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
7
3888
6d2e1961661a Removed broken AmigaOS support.
Ryan C. Gordon <icculus@icculus.org>
parents: 21
diff changeset
8 And a MorphOS version here:
6d2e1961661a Removed broken AmigaOS support.
Ryan C. Gordon <icculus@icculus.org>
parents: 21
diff changeset
9 http://www.lehtoranta.net/powersdl/
21
75a95f82bc1f Updated the Amiga OS port of SDL (thanks Gabriele)
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
10
3888
6d2e1961661a Removed broken AmigaOS support.
Ryan C. Gordon <icculus@icculus.org>
parents: 21
diff changeset
11 --ryan.
21
75a95f82bc1f Updated the Amiga OS port of SDL (thanks Gabriele)
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
12