From 547d720938b3668666d60110d79b150b1e9325c6 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 12 Apr 2007 11:16:19 +0930 Subject: [PATCH] Remove workaround for a NULL core pointer in ProcessInputEvents. This workaround is obsolete with 33a5d9605e3e282f6aa1921d7321a2a12ef02c42 --- hw/xfree86/common/xf86Events.c | 10 +++------- 1 file 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