summaryrefslogtreecommitdiffstats
path: root/xf86config.py
diff options
context:
space:
mode:
Diffstat (limited to 'xf86config.py')
-rw-r--r--xf86config.py25
1 files changed, 21 insertions, 4 deletions
diff --git a/xf86config.py b/xf86config.py
index 64fce893f..993633ae1 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -642,13 +642,30 @@ Section "Screen"
EndSubsection
EndSection
-# The accelerated server
- Section "Screen"
- Driver "%(DRIVER)s"
+# The accelerated svga server
+Section "Screen"
+ Driver "svga"
+ Device "%(DEVICE)s"
+ Monitor "%(MONITOR)s"
+""" % info
+ for depth in self.modes.keys ():
+ section = section + """
+ Subsection "Display"
+ Depth %s
+ Modes """ % depth
+ for res in self.modes[depth]:
+ section = section + '"' + res + '" '
+ section = section + """
+ ViewPort 0 0
+ EndSubsection
+"""
+ section = section + """
+# Other accelerated servers
+Section "Screen"
+ Driver "accel"
Device "%(DEVICE)s"
Monitor "%(MONITOR)s"
""" % info
-# for depth in self.depths:
for depth in self.modes.keys ():
section = section + """
Subsection "Display"