Bug#428797: xrandr multihead and window placement

2007-09-24 Thread Michel Dänzer
On Fri, 2007-09-21 at 10:08 +0100, martin f krafft wrote:
 also sprach Keith Packard [EMAIL PROTECTED] [2007.09.19.1643 +0100]:
  The root window will get a ConfigureNotify event whenever the RandR
  setup changes, so applications need only select for that event before
  talking to the extension.
 
 If someone could take a look at http://bugs.debian.org/428797, I'd
 be grateful. Jamie says that:
 
  2: xscreensaver already receives and reacts to RANDR
 RRScreenChangeNotify events (in driver/timers.c:1010);
 
 yet, I can reproduce the problem: after adding new screen estate
 with xrandr, XScreensaver does *not* blank it when it locks the
 screen. If I restart the daemon, then it works appropriately.

I suspect the method described in the above item 2 predates RandR 1.2
and is no longer adequate. The method described by Keith Packard above
or something similar needs to be used now.


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer




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



Bug#428797: xrandr multihead and window placement

2007-09-21 Thread martin f krafft
also sprach Keith Packard [EMAIL PROTECTED] [2007.09.19.1643 +0100]:
 The root window will get a ConfigureNotify event whenever the RandR
 setup changes, so applications need only select for that event before
 talking to the extension.

If someone could take a look at http://bugs.debian.org/428797, I'd
be grateful. Jamie says that:

 2: xscreensaver already receives and reacts to RANDR
RRScreenChangeNotify events (in driver/timers.c:1010);

yet, I can reproduce the problem: after adding new screen estate
with xrandr, XScreensaver does *not* blank it when it locks the
screen. If I restart the daemon, then it works appropriately.

For your convenience, driver/timers.c is available here:

  
http://scratch.madduck.net/__tmp__cdt.Tke15337__xscreensaver-5.03__driver__timers.c

I have a setup here in which I can try things out, but I don't have
the time to dig through the code.

-- 
martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^.*|tr * mailto:; [EMAIL PROTECTED]
 
someday we'll find it
the rainbow connection
the lovers, the dreamers,
and me!
 -- kermit
 
spamtraps: [EMAIL PROTECTED]


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)