summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xf86config.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/xf86config.py b/xf86config.py
index 638aaeffc..3583dddff 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -1258,10 +1258,12 @@ Section "Screen"
# self.vidCards[self.primary]["DRIVER"] = "vga"
# see if 16 bpp is available, and if it should be the
# default depth
+
if self.keyVariant:
- info["enableVariant"] = ""
+ data["enableVariant"] = ""
if self.keyOptions:
- info["enableOptions"] = ""
+ data["enableOptions"] = ""
+
if maxdepth > 0:
if maxdepth > 16 and '16' in self.modes.keys() and self.modes['16']:
data["defaultDepth"] = "\n\tDefaultDepth\t16"