diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-04-12 11:16:19 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-04-12 11:16:19 +0930 |
commit | 547d720938b3668666d60110d79b150b1e9325c6 (patch) | |
tree | 3c73afddfdf0e43eeebbefbbd467c3160afcbe36 | |
parent | d4dad6f84f82a4ade5005c3aa93511c1295875b8 (diff) |
Remove workaround for a NULL core pointer in ProcessInputEvents.
This workaround is obsolete with 33a5d9605e3e282f6aa1921d7321a2a12ef02c42
-rw-r--r-- | hw/xfree86/common/xf86Events.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/hw/xfree86/common/xf86Events.c b/hw/xfree86/common/xf86Events.c index f826b3bc7..84588996d 100644 --- a/hw/xfree86/common/xf86Events.c +++ b/hw/xfree86/common/xf86Events.c @@ -247,13 +247,9 @@ ProcessInputEvents () mieqProcessInputEvents(); - /* PIE can be called after devices have been shut down. Blame DGA. */ - if (inputInfo.pointer) - { - /* FIXME: This is a problem if we have multiple pointers */ - miPointerGetPosition(inputInfo.pointer, &x, &y); - xf86SetViewport(xf86Info.currentScreen, x, y); - } + /* FIXME: This is a problem if we have multiple pointers */ + miPointerGetPosition(inputInfo.pointer, &x, &y); + xf86SetViewport(xf86Info.currentScreen, x, y); } void |