summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Hopf <mhopf@suse.de>2009-08-18 12:08:25 +0200
committerMatthias Hopf <mhopf@suse.de>2009-08-18 12:09:18 +0200
commit993dbda7b42caed7480dcff0eca4f9af9c1163ba (patch)
treebb7dd7f00cfbece654f4ecc6855f1a165d7a5ff0
parent77c7ab02bf62f057c32f666168fd0ceb03a85a2d (diff)
Add Backlight property description.
-rw-r--r--randr.h1
-rw-r--r--randrproto.txt16
2 files changed, 17 insertions, 0 deletions
diff --git a/randr.h b/randr.h
index c624d96..1ee95f9 100644
--- a/randr.h
+++ b/randr.h
@@ -151,6 +151,7 @@ typedef unsigned long XRandrModeFlags;
/* Conventional RandR output properties */
+#define RR_PROPERTY_BACKLIGHT "Backlight"
#define RR_PROPERTY_RANDR_EDID "EDID"
#define RR_PROPERTY_SIGNAL_FORMAT "SignalFormat"
#define RR_PROPERTY_SIGNAL_PROPERTIES "SignalProperties"
diff --git a/randrproto.txt b/randrproto.txt
index a70b8bd..8aacfb4 100644
--- a/randrproto.txt
+++ b/randrproto.txt
@@ -1401,6 +1401,16 @@ doesn't handle a mandatory property correctly.
9.1 Known properties
+ "Backlight" aka RR_PROPERTY_BACKLIGHT
+ Type: int32
+ Flags: -
+ Range/List: 0-x (driver specific)
+
+ This property controls the brightness on laptop panels and equivalent
+ displays with a backlight controller. The driver specific maximum
+ value MUST turn the backlight to full brightness, 1 SHOULD turn the
+ backlight to minimum brightness, 0 SHOULD turn the backlight off.
+
"CloneList" aka RR_PROPERTY_CLONE_LIST
Type: int32 [2*n] / Atom pairs
Flags: Immutable
@@ -1542,6 +1552,12 @@ ConnectorType yes: static RandR 1.3
SignalFormat no RandR 1.3
SignalProperties no not mandatory
+9.4 Properties introduced with version 1.4 of the RandR extension
+
+Property Immutable Mandatory since
+──────── ───────── ───────────────
+Backlight no not mandatory
+
❧❧❧❧❧❧❧❧❧❧❧
10. Extension Versioning