Subject: Re: Call for testers: ACPI suspend/resume, part 2
To: Joerg Sonnenberger <joerg@britannica.bec.de>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: current-users
Date: 12/19/2007 22:39:40
joerg@britannica.bec.de said:
> Actually, it does tell the X server exactly that. See wsdisplay.c,
> wsdisplay_suspend.

Not quite -- wsdisplay_suspend() does always switch, whether an X server
is present or not, and it does the whole chain which is deattach -
switch - attach. Imo deattach is sufficient.

> It does the very same thing as "wsconscfg -s 0".

"1" -- but anyway, this will do unneccesary work if no X server
is present, and it will be completely wrong if the X server
is running on the first screen.

best regards
Matthias




-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDirig'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------