On 2004-09-30 12:21:21 +0300, Tuomo Valkonen wrote:
> On Thu, Sep 30, 2004 at 10:44:00AM +0200, [EMAIL PROTECTED] wrote:
>
> > It would of course have been better to implement proper support in
> > libxosd for multiple Xinerama screens, but I don't have the time
> > right now.
>
> Or you could use screen:geom() to calculate parameters to the -i and
> -o options (which of course depend on the -p and -A values). But of
> course it would be better to patch the program to properly support
> Xinerama. It's just a few function calls: XineramaQueryExtension to
> test for the extension, and XineramaQueryScreens to get the
> information; see ioncore_manage_rootwin in ioncore/rootwin.c for an
> example.
It already uses those functions (presumably since the non-Xinerama X
functions would report boht physical screens as being one large
screen, which would botch text placement), but has a hardcoded value
of 0 for which screen to use. I just made another binary with a
hardcoded 1 instead.
The only thing requiring something like real work (besides finding
documentation for the Xinerama functions, which seems near impossible)
is building a way for the user to pass that extra parameter, since all
this code is in a library (libxosd) and just adding new parameters to
random functions probably would break backwards compatibility.
--
Karl Hasselstr�m, [EMAIL PROTECTED]
www.treskal.com/kalle