diff options
author | Matt Wilson <msw@redhat.com> | 2000-04-24 21:06:07 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-04-24 21:06:07 +0000 |
commit | 7c7d4ec1ea623ff215441ad5ac235c6cb912cb24 (patch) | |
tree | 7b6fb2c8a0eff689405d24f0bd5472f7de76acb8 /iw/mouse_gui.py | |
parent | fbd1c212884f02ebdcd1ab957284b45fb4b2e76e (diff) | |
download | anaconda-7c7d4ec1ea623ff215441ad5ac235c6cb912cb24.tar.gz anaconda-7c7d4ec1ea623ff215441ad5ac235c6cb912cb24.tar.xz anaconda-7c7d4ec1ea623ff215441ad5ac235c6cb912cb24.zip |
xfree86 4.0, almost working
Diffstat (limited to 'iw/mouse_gui.py')
-rw-r--r-- | iw/mouse_gui.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/iw/mouse_gui.py b/iw/mouse_gui.py index 500ea75fe..6896bb070 100644 --- a/iw/mouse_gui.py +++ b/iw/mouse_gui.py @@ -87,7 +87,11 @@ class MouseWindow (InstallWindow): cur = self.getCurrentKey() (gpm, xdev, device, emulate) = self.availableMice[cur] - curmouse = xmouse.get() + try: + curmouse = xmouse.get() + except RuntimeError: + # ignore errors when switching mice + return None curmouse[0] = "/dev/" + device # XXX # IntelliMouse requires a full mouse reinit - X does not |