summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-08-01 05:01:41 +0000
committerMike Fulbright <msf@redhat.com>2002-08-01 05:01:41 +0000
commitad8450f31f601fc55ea9aa0204728872f87d9ea8 (patch)
treeb9293c14205d17f96aae43ad597fc72fca000a1a
parent99db994323bc2d0761cb4e0f517e6389c9c47f24 (diff)
downloadanaconda-ad8450f31f601fc55ea9aa0204728872f87d9ea8.tar.gz
anaconda-ad8450f31f601fc55ea9aa0204728872f87d9ea8.tar.xz
anaconda-ad8450f31f601fc55ea9aa0204728872f87d9ea8.zip
always write this out if Mouse0 is not a usb mouse
-rw-r--r--xf86config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/xf86config.py b/xf86config.py
index af2d9d29f..a07140421 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -662,7 +662,8 @@ class XF86Config:
# see if we need to add a section for USB mice which aren't
# attached yet. This makes hotplug work
- if self.mouse and not self.mouse.anyUSBMice():
+# if self.mouse and not self.mouse.anyUSBMice():
+ if self.mouse and self.mouse.device != "input/mice":
data["usbmouselayout"] = "InputDevice \"Mouse1\" \"SendCoreEvents\""
data["usbmousesection"] = """
Section "InputDevice"