summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-02-05 12:39:11 -0800
committerAdam Jackson <ajax@redhat.com>2018-02-12 13:54:19 -0500
commite681f8de0cb26d5c8326616e2874d512138422d3 (patch)
treed550d1a80716b4103824284cf8ee5c6bc328cbdf /include
parent14f68c7b006dbc11fa2134ccd48a107f97fd8f2a (diff)
randr: Add non-desktop output property and behaviors [v3]
non-desktop devices are those to which the normal desktop environment should not be extended. Examples are Head-mounted displays and the Apple Touch Bar. How an output device is set to non-desktop is not part of this proposal; it is expected that the underlying operating system will provide this information and have it reflected to X applications through this extension. v2: fix puncutation and duplicated 'the'. v3: switch to 32-bit property named non-desktop to match Linux Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include')
-rw-r--r--include/X11/extensions/randr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/X11/extensions/randr.h b/include/X11/extensions/randr.h
index e53cd56..e7caab1 100644
--- a/include/X11/extensions/randr.h
+++ b/include/X11/extensions/randr.h
@@ -196,6 +196,7 @@ typedef unsigned long XRandrModeFlags;
#define RR_PROPERTY_BORDER_DIMENSIONS "BorderDimensions"
#define RR_PROPERTY_GUID "GUID"
#define RR_PROPERTY_RANDR_TILE "TILE"
+#define RR_PROPERTY_NON_DESKTOP "non-desktop"
/* roles this device can carry out */
#define RR_Capability_None 0