mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-16 19:32:26 +00:00
dpms: Add support for DPMSInfoNotify event from DPMS 1.2 (xorgproto)
This allows applications to respond to changes of power level of a monitor, e.g. an application may stop rendering and related calculations when the monitor is off. Related bug: https://bugs.freedesktop.org/57120 Signed-off-by: Alexander Volkov <avolkov@astralinux.ru>
This commit is contained in:
parent
1bf4d60acd
commit
62fec48a6b
3 changed files with 221 additions and 7 deletions
|
|
@ -46,6 +46,10 @@
|
|||
#define SERVER_DAMAGE_MAJOR_VERSION 1
|
||||
#define SERVER_DAMAGE_MINOR_VERSION 1
|
||||
|
||||
/* DPMS */
|
||||
#define SERVER_DPMS_MAJOR_VERSION 1
|
||||
#define SERVER_DPMS_MINOR_VERSION 2
|
||||
|
||||
/* DRI3 */
|
||||
#define SERVER_DRI3_MAJOR_VERSION 1
|
||||
#define SERVER_DRI3_MINOR_VERSION 2
|
||||
|
|
|
|||
Loading…
Reference in a new issue