aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winmonitors.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xwin/winmonitors.h')
-rw-r--r--xorg-server/hw/xwin/winmonitors.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/winmonitors.h b/xorg-server/hw/xwin/winmonitors.h
new file mode 100644
index 000000000..180566b00
--- /dev/null
+++ b/xorg-server/hw/xwin/winmonitors.h
@@ -0,0 +1,14 @@
+
+/* data returned for monitor information */
+struct GetMonitorInfoData {
+ int requestedMonitor;
+ int monitorNum;
+ Bool bUserSpecifiedMonitor;
+ Bool bMonitorSpecifiedExists;
+ int monitorOffsetX;
+ int monitorOffsetY;
+ int monitorHeight;
+ int monitorWidth;
+};
+
+Bool QueryMonitor(int index, struct GetMonitorInfoData *data);