Skip to content

respect xinerama settings for "0" #392

@SDLBugzilla

Description

@SDLBugzilla

This bug report was migrated from our old Bugzilla tracker.

Reported in version: HG 1.2
Reported for operating system, platform: Linux, x86

Comments on the original bug report:

On 2008-02-27 13:08:16 +0000, Mike Frysinger wrote:

this patch by Diego Pettenò flameeyes@gentoo.org for SDL-1.2:

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.

http://sources.gentoo.org/media-libs/libsdl/files/libsdl-1.2.11-xinerama-head-0.patch

SDL-1.3 doesnt seem to have any code like this, but it's still good for SDL-1.2

On 2008-12-07 21:02:43 +0000, Alexander Darovsky wrote:

I confirm. This bug exists in Ubuntu 8.10 version. It prevents SDL applications from running properly on first Xinerama screen, making them useless for me.

This happens because set up Xinerama mode is overwritten in XVidMode code block. The patched version works properly. Please apply this patch to the upstream version.

On 2009-09-13 15:38:40 +0000, Ryan C. Gordon wrote:

*** Bug 511 has been marked as a duplicate of this bug. ***

On 2009-09-13 16:33:33 +0000, Ryan C. Gordon wrote:

Tagging this bug with "target-1.2.14" so we can try to resolve it for SDL 1.2.14.

Please note that we may choose to resolve it as WONTFIX. This tag is largely so we have a comprehensive wishlist of bugs to examine for 1.2.14 (and so we can close bugs that we'll never fix, rather than have them live forever in Bugzilla).

--ryan.

On 2009-09-21 00:21:13 +0000, Sam Lantinga wrote:

Thanks for the patch! This has been applied for SDL 1.2.14.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions