Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145917 - media-libs/libsdl: make xinerama support work
Summary: media-libs/libsdl: make xinerama support work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL: http://bugzilla.libsdl.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-01 16:42 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-01-06 05:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
libsdl-1.2.11-xinerama-head-0.patch (libsdl-1.2.11-xinerama-head-0.patch,971 bytes, patch)
2006-09-01 16:45 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-01 16:42:54 UTC
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
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-01 16:45:40 UTC
Created attachment 95696 [details, diff]
libsdl-1.2.11-xinerama-head-0.patch
Comment 2 SpanKY gentoo-dev 2006-09-03 19:06:17 UTC
upstream has rewritten a lot of the X stuff from scratch so i'll just keep it in our ebuild
Comment 3 SpanKY gentoo-dev 2008-02-27 21:08:32 UTC
they rewrote the code for 1.3, but not 1.2 ... so i posted it upstream for 1.2