Make it possible to use SDL events separately from the video subsystem.
Remove full-desktop Xinerama mode when using XRandR
Fixed bug 1911 - enable HAVE_GCC_ATOMICS for android platform