[PATCH xorgproto] Add DPMSInfoNotify event
Julien Cristau
jcristau at debian.org
Tue Oct 2 14:33:17 UTC 2018
On 10/02/2018 03:10 PM, Alexander Volkov wrote:
> From: Alexander Volkov <a.volkov at rusbitech.ru>
>
> 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.
>
> Bump DPMS version to 1.2.
>
> Signed-off-by: Alexander Volkov <a.volkov at rusbitech.ru>
> ---
> include/X11/extensions/dpmsconst.h | 5 ++++-
> include/X11/extensions/dpmsproto.h | 27 ++++++++++++++++++++++++++-
> 2 files changed, 30 insertions(+), 2 deletions(-)
>
We shouldn't be adding new extension events that don't come through the
Generic Event Extension, as the extension event space is basically full,
IIRC (see
https://lists.x.org/pipermail/xorg-devel/2010-March/006716.html). This
also seems like it might belong in RANDR rather than DPMS, as DPMS
doesn't actually tie things to a monitor?
Cheers,
Julien
More information about the xorg-devel
mailing list