summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-03-02 16:58:15 +0000
committerMatt Wilson <msw@redhat.com>2000-03-02 16:58:15 +0000
commit10ed4fe2fd4dc84ea6bcbfc34c458559fda5e4d5 (patch)
treecd17214de0754604761d05d984c8edff0d45f360 /iw
parent3fa082afb8b2f1d59934ba49d034f1f34fd286c1 (diff)
downloadanaconda-10ed4fe2fd4dc84ea6bcbfc34c458559fda5e4d5.tar.gz
anaconda-10ed4fe2fd4dc84ea6bcbfc34c458559fda5e4d5.tar.xz
anaconda-10ed4fe2fd4dc84ea6bcbfc34c458559fda5e4d5.zip
workaround for IMPS/2
Diffstat (limited to 'iw')
-rw-r--r--iw/mouse.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/iw/mouse.py b/iw/mouse.py
index 73c9237fe..11c90a94f 100644
--- a/iw/mouse.py
+++ b/iw/mouse.py
@@ -84,9 +84,15 @@ class MouseWindow (InstallWindow):
cur = self.getCurrentKey()
(gpm, xdev, device, emulate) = self.availableMice[cur]
+
curmouse = xmouse.get()
curmouse[0] = "/dev/" + device
- curmouse[1] = xdev
+ # XXX
+ # IntelliMouse requires a full mouse reinit - X does not
+ # handle this properly from the mouse extention at this time
+ # so leave it a PS/2.
+ if not xdev == "IMPS/2":
+ curmouse[1] = xdev
curmouse[6] = emulate
apply (xmouse.set, curmouse)