[PULL] prep work for screen crossing fixes

Peter Hutterer peter.hutterer at who-t.net
Wed Oct 5 17:34:44 PDT 2011


On Tue, Oct 04, 2011 at 04:26:29PM -0400, Peter Harris wrote:
> On 2011-10-04 01:35, Peter Hutterer wrote:
> > On Mon, Oct 03, 2011 at 10:02:28PM -0700, Jamey Sharp wrote:
> >> On Tue, Oct 04, 2011 at 02:15:53PM +1000, Peter Hutterer wrote:
> >>> On Mon, Oct 03, 2011 at 09:02:19PM -0700, Keith Packard wrote:
> >>>> On Tue, 4 Oct 2011 13:26:35 +1000, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> >>>> Non-text part: multipart/signed
> >>>>
> >>>>>       Store desktop dimensions in screenInfo.
> >>>>
> >>>> Do we need the minimum x/y of the desktop too?
> >>>
> >>> is it ever other than 0/0?
> >>
> >> Sure, that's legal (though crazy). Besides the xorg.conf ServerLayout
> >> syntax for positioning a Screen "RightOf", "Below", etc, you can also
> >> set the screen's absolute position.
> > 
> > right, that's for a single screen. but can the desktop origin ever be
> > non-zero? Can you have layout where the first screen goes from say -1024..0
> > and the second from 0..1204?
> 
> Sure. That's not even crazy, that's normal. Pre-randr-1.3 desktops (and
> display managers) typically interpret that as "Primary screen starts at
> 0,0" so they know which monitor the user wants the main menu button/bar
> (or login dialog) on. (Explicit SetPrimary/GetPrimary requests were only
> added in randr 1.3)

how do I configure this? All attempts so far failed, and screenInfo.screens
always has a 0/0 origin.

Section "ServerLayout"
     Identifier     "Layout0"
     Screen       "Screen0" 1024 0
     #Screen       "Screen1" 0 0
     Screen       "Screen1" RightOf "Screen0"
     #Option "Xinerama" "on"
EndSection

negative coords for Screen0  won't even parse.

Cheers,
  Peter


More information about the xorg-devel mailing list