Subject: Re: Call for testers: ACPI suspend/resume, part 2
To: None <current-users@NetBSD.org, port-i386@NetBSD.org,>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: current-users
Date: 12/19/2007 22:17:00
On Wed, Dec 19, 2007 at 10:00:55PM +0100, Matthias Drochner wrote:
> I think however that the kernel shouldn't make assumptions
> about the use of virtual screens. It should tell the X server
> if present (which it recognizes by the SCR_GRAPHICS bit set)
> to give up control, but that's about it. This means it should
> call the syncops->detach function and wait for a positive response.
> No switching to a screen where one doesn't know what expects him...
Actually, it does tell the X server exactly that. See wsdisplay.c,
wsdisplay_suspend. It does the very same thing as "wsconscfg -s 0".
Joerg