BUGS
author Ozkan Sezer <sezeroz@gmail.com>
Fri, 22 Jun 2018 21:03:40 +0300
branchSDL-1.2
changeset 12026 67f391c74aee
parent 3915 89b0f3d12fe2
permissions -rw-r--r--
SDLMain.m: replace CPS* stuff with activateIgnoringOtherApps (bug #4114)

CPS stuff are deprecated and emit warnings at runtime, e.g.:

warning: CPSGetCurrentProcess(): This call is deprecated and should not be called anymore
warning: CPSSetForegroundOperationState() (as above)
warning: capture_display; Captured mirror master 0x350000c1 (unit 1) on behalf of slave 0x042716c0 (unit 0)

http://lists.libsdl.org/pipermail/sdl-libsdl.org/2006-April/055749.html
suggests doing something like:

ProcessSerialNumber psn = { 0, kCurrentProcess};
TransformProcessType (&psn, kProcessTransformToForegroundApplication);
SetFrontProcess (&psn);

And SetFrontProcess() is deprecated in 10.9. Processes.h suggests
[[NSApplication sharedApplication] activateIgnoringOtherApps: YES]
to make one's own application frontmost.
     1 
     2 Bugs are now managed in the SDL bug tracker, here:
     3 
     4     http://bugzilla.libsdl.org/
     5 
     6 You may report bugs there, and search to see if a given issue has already
     7  been reported, discussed, and maybe even fixed.
     8 
     9 
    10 
    11 You may also find help at the SDL mailing list. Subscription information:
    12 
    13     http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
    14 
    15 Bug reports are welcome here, but we really appreciate if you use Bugzilla, as
    16  bugs discussed on the mailing list may be forgotten or missed.
    17 
    18