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 2add65724..10f282c70 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -9,6 +9,7 @@ import isys
import time
import os
from kbd import Keyboard
+from mouse import Mouse
def _(x):
return x
@@ -398,6 +399,8 @@ EndSection
"""
def mouseSection (self):
+ if not self.mouse:
+ self.mouse = Mouse(mouseType = ("none", "none", "null"))
return """
# **********************************************************************
# Pointer section