xinerama + struts question
Olivier Fourdan
fourdan at xfce.org
Sat May 15 17:31:47 CEST 2004
Jasper,
>From the spec itself, struts apply to the widest logical screen.
http://freedesktop.org/Standards/wm-spec/index.html#id2769172
"The start and end values associated with each strut allow areas to be
reserved which do not span the entire width or height of the screen.
Struts MUST be specified in root window coordinates, that is, they are
not relative to the edges of any view port or Xinerama monitor."
So if I reuse your ASCII art diagram and apply struts shown with "*", it
should like like that:
+----------------+xxxxxxxx
|****************|*******
| +-------+
| A | B |
| | |
| +-------+
|****************|********
+----------------+xxxxxxxx
So it really makes sense to use partial struts here so that
the struts sets for the monitor on the right don't apply
to the one on the left!
Cheers,
Olivier.
On Sat, 2004-05-15 at 13:00, Jasper Huijsmans wrote:
> Hey all, olivier in particular,
>
> Can someone tell me how a xinerama screen with two differently sized
> monitors works in relation to full struts (netk desktop margins)?
>
> I was thinking it would work as if they were set on the enclosing
> rectangle, is that correct?
>
>
> +----------------+xxxxxxxx
> | |xxxxxxxx
> | +-------+
> | A | B |
> | | |
> | +-------+
> | |xxxxxxxx
> +----------------+xxxxxxxx
>
> thanks,
> Jasper
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://lunar-linux.org/mailman/listinfo/xfce4-dev
--
- Olivier Fourdan - fourdan at xfce.org - http://www.xfce.org -
More information about the Xfce4-dev
mailing list