Bug#552317: libsdl1.2debian: doesn't handle multi-monitor setups well (xrandr)

Darren Salt linux at youmustbejoking.demon.co.uk
Sun Oct 25 13:04:00 UTC 2009


Package: libsdl1.2debian
Version: 1.2.13-5

I have a dual-head setup here (2 monitors, each 1280×1024, arranged
horizontally, connected to a Radeon X300).

Doing some testing of Oolite (upstream trunk), I noticed segfaults when
toggling to full-screen mode or during startup if full-screen mode was
already selected. I've traced this back to SDL_SetVideoMode() returning NULL
(and I've patched Oolite to handle this by forcing windowed mode).

Curiously, it doesn't return NULL if the window size happens to be the same
as the screen size (but then it switches off one of the monitors instead).

And if SDL_VIDEO_X11_XRANDR=0, this all works fine, although the window is
2560×1024

I think that my preferred behaviour would be for it to switch to full-screen
on whichever monitor the window's (mostly) on and leave the other monitors
untouched (which would itself fix a lot of problems with games which default
to full-screen).

-- 
| Darren Salt            | linux at youmustbejoking | nr. Ashington, | Doon
| using Debian GNU/Linux | or ds    ,demon,co,uk    | Northumberland | Army
| + Output less CO2 => avoid boiling weather.     TIME IS RUNNING OUT *FAST*.

Don't overuse exclamation marks!!!!!





More information about the Pkg-sdl-maintainers mailing list