summaryrefslogtreecommitdiff
path: root/randr.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-12-12 15:57:57 -0800
committerDave Airlie <airlied@redhat.com>2015-03-30 13:40:40 +1000
commit4109f29861a7066970a2afd079d0fc2c12828bcb (patch)
tree37ce8a7b23b06c38f929f222b026b69f7092a762 /randr.h
parentd501a4f08ee3c5435841aa70c0d5cd4b7398bd12 (diff)
downloadxorg-proto-randrproto-4109f29861a7066970a2afd079d0fc2c12828bcb.tar.gz
Add Monitors, update version to 1.5 (v2)
v2: [airlied] add get_active to monitor get interface, to allow normal vs configuration clients to see active vs all monitors. (r-b by keithp) Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'randr.h')
-rw-r--r--randr.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/randr.h b/randr.h
index 3c6721b..43f5ad9 100644
--- a/randr.h
+++ b/randr.h
@@ -40,11 +40,11 @@ typedef unsigned long XRandrModeFlags;
#define RANDR_NAME "RANDR"
#define RANDR_MAJOR 1
-#define RANDR_MINOR 4
+#define RANDR_MINOR 5
#define RRNumberErrors 4
#define RRNumberEvents 2
-#define RRNumberRequests 42
+#define RRNumberRequests 45
#define X_RRQueryVersion 0
/* we skip 1 to make old clients fail pretty immediately */
@@ -104,6 +104,11 @@ typedef unsigned long XRandrModeFlags;
#define X_RRDeleteProviderProperty 40
#define X_RRGetProviderProperty 41
+/* v1.5 */
+#define X_RRGetMonitors 42
+#define X_RRSetMonitor 43
+#define X_RRDeleteMonitor 44
+
/* Event selection bits */
#define RRScreenChangeNotifyMask (1L << 0)
/* V1.2 additions */