Sun, 24 Jun 2018 15:12:18 -0400cmake: Look in popular places for X11 headers, export this info properly.
Ryan C. Gordon <icculus@icculus.org> [Sun, 24 Jun 2018 15:12:18 -0400] rev 12030
cmake: Look in popular places for X11 headers, export this info properly.

Fixes CMake not being able to find X11 on FreeBSD (which generally has the
headers in /usr/local/include/X11).

List of other popular places borrowed from CMake's FindX11 module.

This worked on the configure script because of magic in the AC_PATH_X macro.

Fixes Bugzilla #4815.

Sun, 24 Jun 2018 13:57:22 -0400x11: Normalize x11xinput2 touch x to be 1.0 at width (thanks, Zach!).
Ryan C. Gordon <icculus@icculus.org> [Sun, 24 Jun 2018 13:57:22 -0400] rev 12029
x11: Normalize x11xinput2 touch x to be 1.0 at width (thanks, Zach!).

"Applications (such as SDL's testgesture) do "event.tfinger.x * window_width"
to find window coord. Currently the X11 XInput2 backend expects application
to do "event.tfinger.x * (window_width-1)" instead.

X11 XInput2 touch events are normalized so x is 1.0 at "width - 1" but other
SDL backends appear to have x be 1.0 at "width". Same issue for touch event
y with regards to height."

Fixes Bugzilla #4183.

Thu, 14 Jun 2018 06:12:12 +0000egl: Don't change context when deleting current.
Tomeu Vizoso <tomeu.vizoso@collabora.com> [Thu, 14 Jun 2018 06:12:12 +0000] rev 12028
egl: Don't change context when deleting current.

If we change the current context behind the app's back, those tracking
the current context to minimize context changes are going to get
confused.

This brings the EGL backend in line with the GLX one.

Fixes Bugzilla #4199.

Sun, 24 Jun 2018 12:16:58 -0400Fixed some possible malloc(0) calls reported by static analysis.
Ryan C. Gordon <icculus@icculus.org> [Sun, 24 Jun 2018 12:16:58 -0400] rev 12027
Fixed some possible malloc(0) calls reported by static analysis.

Fri, 22 Jun 2018 21:03:40 +0300SDLMain.m: replace CPS* stuff with activateIgnoringOtherApps (bug #4114) SDL-1.2
Ozkan Sezer <sezeroz@gmail.com> [Fri, 22 Jun 2018 21:03:40 +0300] rev 12026
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.

Mon, 18 Jun 2018 13:14:04 -0700Use a blank cursor instead of PointerIcon.TYPE_NULL since that shows the default cursor on Samsung DeX
Sam Lantinga <slouken@libsdl.org> [Mon, 18 Jun 2018 13:14:04 -0700] rev 12025
Use a blank cursor instead of PointerIcon.TYPE_NULL since that shows the default cursor on Samsung DeX

Mon, 18 Jun 2018 13:14:02 -0700Added support for external mouse in Samsung DeX mode
Sam Lantinga <slouken@libsdl.org> [Mon, 18 Jun 2018 13:14:02 -0700] rev 12024
Added support for external mouse in Samsung DeX mode
relative mode doesn't work, but absolute coordinates are functional

Mon, 18 Jun 2018 13:14:00 -0700Make certain we only hide system UI when we're fullscreen for real. (thanks Rachel!)
Sam Lantinga <slouken@libsdl.org> [Mon, 18 Jun 2018 13:14:00 -0700] rev 12023
Make certain we only hide system UI when we're fullscreen for real. (thanks Rachel!)

Mon, 18 Jun 2018 13:13:58 -0700Deal with situations where the system UI is shown when the keyboard pops up (thanks Rachel!)
Sam Lantinga <slouken@libsdl.org> [Mon, 18 Jun 2018 13:13:58 -0700] rev 12022
Deal with situations where the system UI is shown when the keyboard pops up (thanks Rachel!)

Mon, 18 Jun 2018 13:13:56 -0700Fixed race condition where Android touch events could get scaled by a render target's viewport
Sam Lantinga <slouken@libsdl.org> [Mon, 18 Jun 2018 13:13:56 -0700] rev 12021
Fixed race condition where Android touch events could get scaled by a render target's viewport