summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Poole <netstar@gmail.com>2020-08-15 15:52:56 +0100
committerAlastair Poole <netstar@gmail.com>2020-08-15 15:52:56 +0100
commitb4e7f6de3b738d7472056bccb00e4e591f273010 (patch)
tree61f2958bb34d8a4d13767bbe868d703b0ba745f8
parent672d1de7304d412ecae7cc7dc0b5a8fe7309105e (diff)
ecore_x: Add mode flags new in xrandr 1.2.
-rw-r--r--src/lib/ecore_x/Ecore_X.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/ecore_x/Ecore_X.h b/src/lib/ecore_x/Ecore_X.h
index eb4b08761d..66f86f165a 100644
--- a/src/lib/ecore_x/Ecore_X.h
+++ b/src/lib/ecore_x/Ecore_X.h
@@ -2094,6 +2094,24 @@ typedef int Ecore_X_Randr_Signal_Format;
2094typedef int Ecore_X_Randr_Signal_Property; 2094typedef int Ecore_X_Randr_Signal_Property;
2095typedef int Ecore_X_Randr_Connector_Type; 2095typedef int Ecore_X_Randr_Connector_Type;
2096 2096
2097typedef enum _Ecore_X_Randr_Mode_Flags
2098{
2099 ECORE_X_RANDR_MODE_HSYNC_POSITIVE = 0x00000001,
2100 ECORE_X_RANDR_MODE_HSYNC_NEGATIVE = 0x00000002,
2101 ECORE_X_RANDR_MODE_VSYNC_POSITIVE = 0x00000004,
2102 ECORE_X_RANDR_MODE_VSYNC_NEGATIVE = 0x00000008,
2103 ECORE_X_RANDR_MODE_INTERLACE = 0x00000010,
2104 ECORE_X_RANDR_MODE_DOUBLE_SCAN = 0x00000020,
2105 ECORE_X_RANDR_MODE_CSYNC = 0x00000040,
2106 ECORE_X_RANDR_MODE_CSYNC_POSITIVE = 0x00000080,
2107 ECORE_X_RANDR_MODE_CSYNC_NEGATIVE = 0x00000100,
2108 ECORE_X_RANDR_MODE_HSKEW_PRESENT = 0x00000200,
2109 ECORE_X_RANDR_MODE_BCAST = 0x00000400,
2110 ECORE_X_RANDR_MODE_PIXEL_MULTIPLEX = 0x00000800,
2111 ECORE_X_RANDR_MODE_DOUBLE_CLOCK = 0x00001000,
2112 ECORE_X_RANDR_MODE_CLOCK_DIV_BY_2 = 0x00002000,
2113} Ecore_X_Randr_Mode_Flags;
2114
2097typedef struct _Ecore_X_Randr_Mode_Info 2115typedef struct _Ecore_X_Randr_Mode_Info
2098{ 2116{
2099 Ecore_X_ID xid; 2117 Ecore_X_ID xid;