summaryrefslogtreecommitdiff
path: root/src/rhd_monitor.h
diff options
context:
space:
mode:
authorLuc Verhaegen <libv@skynet.be>2007-09-17 11:41:10 +0200
committerLuc Verhaegen <libv@skynet.be>2007-09-17 11:50:57 +0200
commitcabbc9de634f02ed41d707d6a165584adb26adc6 (patch)
treed16432282f6720caafcfa55827c1f8ab9552965a /src/rhd_monitor.h
parented5db4c0c6b2687dae12263710cf7ddfe6c7f045 (diff)
Alter mode validation to properly catch fixed modes.
And get in a saner usage for the configured monitor.
Diffstat (limited to 'src/rhd_monitor.h')
-rw-r--r--src/rhd_monitor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rhd_monitor.h b/src/rhd_monitor.h
index f56eab3..6bb885f 100644
--- a/src/rhd_monitor.h
+++ b/src/rhd_monitor.h
@@ -42,13 +42,14 @@ struct rhdMonitor {
DisplayModePtr Modes; /* default: NULL */
};
+struct rhdMonitor *RHDConfigMonitor(MonPtr Config);
+struct rhdMonitor *RHDDefaultMonitor(int scrnIndex);
#ifdef _RHD_CONNECTOR_H
struct rhdMonitor *RHDMonitorInit(struct rhdConnector *Connector);
#endif
void RHDMonitorDestroy(struct rhdMonitor *Monitor);
-int RHDMonitorValid(struct rhdMonitor *Monitor, DisplayModePtr Mode);
#ifdef XF86_DDC_H
void RHDMonitorEDIDSet(struct rhdMonitor *Monitor, xf86MonPtr EDID);