On Sun, 16 Dec 2001, Bj|rn Englund wrote:

> Sat Dec 15 2001, Mark Vojkovich wrote:
> > On Sat, 15 Dec 2001, Bj|rn Englund wrote:
> > 
> > > First of all, is there any documentation for Xinerama except
> > > the Xinerama.h file?
> > 
> >    Pretty much.
> That is pretty much it?
> So there are no plans to write up a man page or so?

   Not with this API.

> I didn't see any man page. I can write one if it's ok?

   This API isn't official.  It's something I hacked
up.  The original protocol was in the "PanoramiX" namespace
(the original name for Xinerama) and wouldn't even tell you
where the screens were at on the physical desktop - useless.
I've gotten some flak already for making my own protocol without
consulting X.org first.  But then of course, if I waited for
X.org to approve it you wouldn't have any protocol today because
the official API still isn't finalized.

   So, it's going to change at sometime when there's an official
API.   XFree86 will be backwards compatible with the old 
protocol but the sample implementation and all the commercial
vendors won't acknowledge the current protocol.  You just have
to keep that in mind, and you'll be expected to rewrite all
your Xinerama awareness code at some point if you want it to
work with anything other than XFree86.  The current solution
was a hack to keep the Enlightenment guys happy.


> > 
> > > 
> > > From what I've seen there is no way to get the
> > > physical size of the monitors that are used for the different
> > > screens in Xinerama. Is this true? If so, will it
> > > be fixed/added?
> > 
> >    I thought it was pretty obvious how to do that from the
> > description in Xinerama.h.
> 
> Ok could you please tell me then, I don't find it obvious.
> I understand how to get the screen resolution, but what I want is
> the _physical_ size (in mm) of the display, like what you get from
> DisplayWidthMM. I need it to calculate the aspect of the screen.
> 
   
   I misunderstood you.  No there isn't anyway to do that.


                                Mark.

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to