x11proto: Changes to 'master'
Peter Hutterer
whot at kemper.freedesktop.org
Thu Nov 13 16:37:59 PST 2008
XF86keysym.h | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 1e33337d4dd151da4f0898a86608a1ee67588163
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Mon Oct 27 16:36:34 2008 +1030
Add XF86XK_Suspend and XF86XK_Hibernate keysym defs.
At the moment, we have the following keysyms defined to put a computer into a
sleep state:
XF86XK_Standby 0x1008FF10 /* System into standby mode */
XF86XK_PowerDown 0x1008FF21 /* Deep sleep the system */
XF86XK_Sleep 0x1008FF2F /* Put system to sleep */
Proposed change by Richard Hughes:
"The nomenclature I've been trying to make stick
(most projects now use this) for a few years now is:
standby: high sleep state, nobody uses this any more
hibernate: sleep to disk - slow, but can remove power
suspend: sleep to ram - fast, but can't remove power
hybrid sleep: sleep to both, slow, and can remove power, but quick to
resume if you don't - most users don't use this"
This patch adds XF86XK_Suspend and XF86XK_Hibernate. The behaviour of
XF86XK_Sleep can then be configured on a per-session basis.
Signed-off-by: Peter Hutterer <peter.hutterer at redhat.com>
More information about the xorg-commit
mailing list