summaryrefslogtreecommitdiffstats
path: root/xf86config.py
diff options
context:
space:
mode:
Diffstat (limited to 'xf86config.py')
-rw-r--r--xf86config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/xf86config.py b/xf86config.py
index ac45c74a7..037d7d58e 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -1033,6 +1033,7 @@ Section "Screen"
if not self.modes[depth]: continue
if depth == "32":
depth = "24"
+ self.modes["24"] = self.modes["32"]
if maxdepth < string.atoi(depth):
maxdepth = string.atoi(depth)
screens = screens + """
@@ -1044,6 +1045,8 @@ Section "Screen"
screens = screens + """
EndSubsection
"""
+ if depth == "24":
+ del self.modes["24"]
# XXX if we're going to be using IMPS/2 on
# reboot, but we're using PS/2 now, we'll need
# to temporarily use PS/2 so we don't frob the