On Mon, 2010-10-25 at 12:02 -0700, Keith Packard wrote: > However, looking at the code, I think there's a simpler mechanism already > available to us: > > * Register a screen saver window with XScreenSaverSetAttributes. This > ensures that automatic screen saving will not turn off the screen. > I can't figure out how this window could be useful to us as it gets > automatically destroyed when the screen is unsaved, and so cannot > be used for a transition or lock screen dialog. > > * Monitor screen saver timeouts using the existing XScreenSaver events. > > * Disable the DPMS extension by setting the DPMS timeouts to all zeros. > The DPMS code doesn't respect the X screen saver extension's external > screen saver mode. (note A*) > > * Control DPMS on the monitors by using DPMSForceLevel. This will > generate another screen saver event, but that will have the 'force' > value set to TRUE.
This sounds like it's ignoring per-output DPMS. I kind of want to drop the DPMS extension entirely if we can. It's really quite awful to implement since it's per-display state not per-screen. I'm not sure how much existing code relies on it though. - ajax
signature.asc
Description: This is a digitally signed message part
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
