> "apt-get build-dep xscreensaver" should help you.

after that
./configure; make
worked nicely, thank you.

I exited my existing xscreensaver and fired up the one built in
driver/; it promptly said:

xscreensaver: WARNING: RANDR and Xinerama report different
xscreensaver:          screen layouts!  Believing RANDR.

which looks *a lot* like a clue ;-)
It's still trying to use landscape mode.  This is with the

else if (rot & (RR_Rotate_90|RR_Rotate_270))

line in screens.c suppressed by prefixing 0 & before rot.  Re-enabling
and re-building, I get the same warning as above and the same
behaviour.

Something I've neglected to describe before: when I select Screen ->
Locking -> Lock Screen (XScreenSaver), the *whole* screen fades to
black, but as soon as it's all black it re-displays the bottom portion
of the screen and begins using the top square for xscreensaver
activity.

The error's coming from randr_versus_xinerama_fight(), so I've changed
the code to trust Xinerama instead of RANDR - and the problem's fixed :-)

Have a <patch>

diff -bu /usr/opt/xscreensaver-5.07/driver/screens.c.orig 
/usr/opt/xscreensaver-5.07/driver/screens.c
--- /usr/opt/xscreensaver-5.07/driver/screens.c.orig    2008-08-08 
23:06:03.000000000 +0200
+++ /usr/opt/xscreensaver-5.07/driver/screens.c 2008-08-13 20:42:10.000000000 
+0200
@@ -522,10 +522,12 @@
     {
       fprintf (stderr,
                "%s: WARNING: RANDR and Xinerama report different\n"
-               "%s:          screen layouts!  Believing RANDR.\n",
+               "%s:          screen layouts!  Believing Xinerama.\n",
                blurb(), blurb());
-      free_monitors (xinerama_monitors);
-      return randr_monitors;
+      free_monitors (randr_monitors);
+         return xinerama_monitors;
+      /* free_monitors (xinerama_monitors);
+      return randr_monitors; */
     }
 }
 

Diff finished.  Wed Aug 13 20:42:58 2008

</patch> Obviously, I leave it to those with better knowledge of the
code to work out how to do it better ...

        Eddy.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to