The attached patch applies over latest ~arch SDL version, and allows to use the xinerama support to launch an application full screened on the head "0". The SDL_VIDEO_FULLSCREEN_HEAD environment variable sets the head on which the full screen will be displayed, but if you set it to 0, the code simply ignores it as unset. My patch changes the unset value to -1, so that the 0 value can be used correctly. Without this, trying to get fullscreen on head 0 would get the same result than not having xinerama enabled at all. I didn't send it upstream as I'm not sure if it's still an issue for them or what else. HTH, Diego
Created attachment 95696 [details, diff] libsdl-1.2.11-xinerama-head-0.patch
upstream has rewritten a lot of the X stuff from scratch so i'll just keep it in our ebuild
they rewrote the code for 1.3, but not 1.2 ... so i posted it upstream for 1.2