aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winmonitors.h
blob: 180566b000dab3f689f656aa60fe825b74dc231a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);