mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-07 15:28:04 +02:00
read-only mirror of https://gitlab.freedesktop.org/xorg/proto/xorgproto
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@redhat.com>
|
||
|---|---|---|
| .gitignore | ||
| ap_keysym.h | ||
| AUTHORS | ||
| autogen.sh | ||
| configure.ac | ||
| COPYING | ||
| DECkeysym.h | ||
| HPkeysym.h | ||
| keysym.h | ||
| keysymdef.h | ||
| Makefile.am | ||
| Sunkeysym.h | ||
| X.h | ||
| Xalloca.h | ||
| Xarch.h | ||
| Xatom.h | ||
| Xdefs.h | ||
| XF86keysym.h | ||
| Xfuncproto.h.in | ||
| Xfuncs.h | ||
| Xmd.h | ||
| Xos.h | ||
| Xos_r.h | ||
| Xosdefs.h | ||
| Xpoll.h.in | ||
| Xproto.h | ||
| xproto.pc.in | ||
| Xprotostr.h | ||
| Xthreads.h | ||
| Xw32defs.h | ||
| XWDFile.h | ||
| Xwindows.h | ||
| Xwinsock.h | ||