diff options
Diffstat (limited to 'xf86config.py')
-rw-r--r-- | xf86config.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xf86config.py b/xf86config.py index 2377df355..05f53a12f 100644 --- a/xf86config.py +++ b/xf86config.py @@ -640,6 +640,12 @@ class XF86Config: # see if 16 bpp is available, and if it should be the # default depth + # HACK: if we have nodri in the Cards file, let's make sure it + # really gets disabled since all of the drivers in X don't + # seem to listen :( + if string.find(cardoptions, 'Option "nodri"') != -1: + data["driMod"] = '\n#\tLoad "dri"', + if self.keyboard["variant"]: data["enableVariant"] = "" if self.keyboard["options"]: |