summaryrefslogtreecommitdiff
path: root/randr.h
diff options
context:
space:
mode:
Diffstat (limited to 'randr.h')
-rw-r--r--randr.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/randr.h b/randr.h
index 4480f5c..41aedd5 100644
--- a/randr.h
+++ b/randr.h
@@ -93,6 +93,21 @@ typedef unsigned long XRandrModeFlags;
#define RRTransformProjective (1L << 3)
/* V1.4 additions */
+
+#define RR_SetScreenPixmapSize (1 << 0)
+#define RR_SetScreenSize (1 << 1)
+#define RR_SetScreenSizeInMillimeters (1 << 2)
+#define RR_SetScreenCrtcs (1 << 3)
+
+#define RR_SetCrtcPosition (1 << 4)
+#define RR_SetCrtcMode (1 << 5)
+#define RR_SetCrtcRotation (1 << 6)
+#define RR_SetCrtcOutputs (1 << 7)
+#define RR_SetCrtcSpritePositionTransform (1 << 8)
+#define RR_SetCrtcSpriteImageTransform (1 << 9)
+#define RR_SetCrtcPixmap (1 << 10)
+#define RR_SetCrtcPixmapPosition (1 << 11)
+
#define X_RRQueryScanoutPixmaps 32
#define X_RRCreateScanoutPixmap 33
#define X_RRSetCrtcSpriteTransform 34
@@ -156,9 +171,6 @@ typedef unsigned long XRandrModeFlags;
#define BadRRCrtc 1
#define BadRRMode 2
-/* new in 1.4 protocol */
-#define RR_CurrentScanoutPixmap 1 /* current scanout pixmap in RRSetCrtcConfigs */
-
/* Conventional RandR output properties */
#define RR_PROPERTY_BACKLIGHT "Backlight"