Mercurial > sdl-ios-xcode
annotate README @ 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 | 8582c6a5ca16 |
children |
rev | line source |
---|---|
0 | 1 |
2 Simple DirectMedia Layer | |
3 | |
4 (SDL) | |
5 | |
6 Version 1.2 | |
7 | |
8 --- | |
9 http://www.libsdl.org/ | |
10 | |
602
a24bd700f92e
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
579
diff
changeset
|
11 This is the Simple DirectMedia Layer, a general API that provides low |
0 | 12 level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, |
13 and 2D framebuffer across multiple platforms. | |
14 | |
3976
8582c6a5ca16
Added initial support for Nintendo DS, based on the work by Troy Davis (GPF)
Sam Lantinga <slouken@libsdl.org>
parents:
3888
diff
changeset
|
15 The current version supports Linux, Windows CE/95/98/ME/XP/Vista, BeOS, |
8582c6a5ca16
Added initial support for Nintendo DS, based on the work by Troy Davis (GPF)
Sam Lantinga <slouken@libsdl.org>
parents:
3888
diff
changeset
|
16 MacOS Classic, Mac OS X, FreeBSD, NetBSD, OpenBSD, BSD/OS, Solaris, IRIX, |
8582c6a5ca16
Added initial support for Nintendo DS, based on the work by Troy Davis (GPF)
Sam Lantinga <slouken@libsdl.org>
parents:
3888
diff
changeset
|
17 and QNX. The code contains support for Dreamcast, Atari, AIX, OSF/Tru64, |
8582c6a5ca16
Added initial support for Nintendo DS, based on the work by Troy Davis (GPF)
Sam Lantinga <slouken@libsdl.org>
parents:
3888
diff
changeset
|
18 RISC OS, SymbianOS, Nintendo DS, and OS/2, but these are not officially |
8582c6a5ca16
Added initial support for Nintendo DS, based on the work by Troy Davis (GPF)
Sam Lantinga <slouken@libsdl.org>
parents:
3888
diff
changeset
|
19 supported. |
0 | 20 |
1763
1c8672065e3b
Updated to include new languages and platform support
Sam Lantinga <slouken@libsdl.org>
parents:
1621
diff
changeset
|
21 SDL is written in C, but works with C++ natively, and has bindings to |
1c8672065e3b
Updated to include new languages and platform support
Sam Lantinga <slouken@libsdl.org>
parents:
1621
diff
changeset
|
22 several other languages, including Ada, C#, Eiffel, Erlang, Euphoria, |
1c8672065e3b
Updated to include new languages and platform support
Sam Lantinga <slouken@libsdl.org>
parents:
1621
diff
changeset
|
23 Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP, |
1c8672065e3b
Updated to include new languages and platform support
Sam Lantinga <slouken@libsdl.org>
parents:
1621
diff
changeset
|
24 Pike, Pliant, Python, Ruby, and Smalltalk. |
0 | 25 |
26 This library is distributed under GNU LGPL version 2, which can be | |
27 found in the file "COPYING". This license allows you to use SDL | |
28 freely in commercial programs as long as you link with the dynamic | |
29 library. | |
30 | |
31 The best way to learn how to use SDL is to check out the header files in | |
32 the "include" subdirectory and the programs in the "test" subdirectory. | |
33 The header files and test programs are well commented and always up to date. | |
1763
1c8672065e3b
Updated to include new languages and platform support
Sam Lantinga <slouken@libsdl.org>
parents:
1621
diff
changeset
|
34 More documentation is available in HTML format in "docs/index.html", and |
1c8672065e3b
Updated to include new languages and platform support
Sam Lantinga <slouken@libsdl.org>
parents:
1621
diff
changeset
|
35 a documentation wiki is available online at: |
1c8672065e3b
Updated to include new languages and platform support
Sam Lantinga <slouken@libsdl.org>
parents:
1621
diff
changeset
|
36 http://www.libsdl.org/cgi/docwiki.cgi |
0 | 37 |
38 The test programs in the "test" subdirectory are in the public domain. | |
39 | |
40 Frequently asked questions are answered online: | |
369
e405cf8bf580
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
362
diff
changeset
|
41 http://www.libsdl.org/faq.php |
0 | 42 |
43 If you need help with the library, or just want to discuss SDL related | |
44 issues, you can join the developers mailing list: | |
369
e405cf8bf580
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
362
diff
changeset
|
45 http://www.libsdl.org/mailing-list.php |
0 | 46 |
47 Enjoy! | |
48 Sam Lantinga (slouken@libsdl.org) | |
49 |