summaryrefslogtreecommitdiffstats
path: root/xf86config.py
diff options
context:
space:
mode:
Diffstat (limited to 'xf86config.py')
-rw-r--r--xf86config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/xf86config.py b/xf86config.py
index 31d65bd3c..df10fbeec 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -163,7 +163,8 @@ class XF86Config:
self.monVert = vrange
def setVidcard (self, card):
- self.vidCards.append (card)
+ self.vidCards = [card]
+ self.primary = 0
if self.vidCards:
self.devID = self.vidCards[self.primary]["NAME"]