summaryrefslogtreecommitdiffstats
path: root/xf86config.py
diff options
context:
space:
mode:
Diffstat (limited to 'xf86config.py')
-rw-r--r--xf86config.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/xf86config.py b/xf86config.py
index 861683347..902bf566d 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -639,6 +639,9 @@ class XF86Config:
self.monlist = {}
self.monids = {}
+ # if skipx is TRUE user has selected to not configure X
+ self.skipx = 0
+
if isys.fbinfo() != None:
(x, y, depth) = isys.fbinfo()
self.fbDepth = depth
@@ -882,6 +885,10 @@ class XF86Config:
config.close ()
def writeKS (self, f):
+ if self.skipx:
+ f.write("skipx\n")
+ return
+
xmodes = self.getManualModes()
if len(xmodes) == 0: