From 4109f29861a7066970a2afd079d0fc2c12828bcb Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 12 Dec 2014 15:57:57 -0800 Subject: 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 Signed-off-by: Keith Packard --- randr.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'randr.h') 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 */ -- cgit v1.2.3