diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-16 19:22:32 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-16 21:10:00 +0930 |
commit | 6fb76acc4524d6af4bfb6bc6d862c1ee2bbb8baa (patch) | |
tree | d85e1f8c3a3725314ee2889c1a9d123bfaf126e3 | |
parent | 5127942f80983b2e053dddd5c5747d0c3d2f9d6d (diff) |
mi: remove miPointerUpdate() -> replaced by miPointerUpdateSprite().
In the xnest and vfb DDX we don't need the call anyway, it's performed by
mieqProcessInputEvent.
-rw-r--r-- | hw/vfb/InitInput.c | 1 | ||||
-rw-r--r-- | hw/xnest/Events.c | 1 | ||||
-rw-r--r-- | mi/mipointer.c | 8 | ||||
-rw-r--r-- | mi/mipointer.h | 5 |
4 files changed, 1 insertions, 14 deletions
diff --git a/hw/vfb/InitInput.c b/hw/vfb/InitInput.c index 393698f35..3b001eea7 100644 --- a/hw/vfb/InitInput.c +++ b/hw/vfb/InitInput.c @@ -52,7 +52,6 @@ void ProcessInputEvents() { mieqProcessInputEvents(); - miPointerUpdate(); } void DDXRingBell(int volume, int pitch, int duration) diff --git a/hw/xnest/Events.c b/hw/xnest/Events.c index 02ff27bdf..f7a551c17 100644 --- a/hw/xnest/Events.c +++ b/hw/xnest/Events.c @@ -49,7 +49,6 @@ void ProcessInputEvents() { mieqProcessInputEvents(); - miPointerUpdate(); } int diff --git a/mi/mipointer.c b/mi/mipointer.c index 2c226dc71..484947da9 100644 --- a/mi/mipointer.c +++ b/mi/mipointer.c @@ -374,18 +374,12 @@ miPointerWarpCursor (pDev, pScreen, x, y) */ /* - * miPointerUpdate + * miPointerUpdateSprite * * Syncronize the sprite with the cursor - called from ProcessInputEvents */ void -miPointerUpdate () -{ - miPointerUpdateSprite(inputInfo.pointer); -} - -void miPointerUpdateSprite (DeviceIntPtr pDev) { ScreenPtr pScreen; diff --git a/mi/mipointer.h b/mi/mipointer.h index 5cbf5270d..fccbfa04a 100644 --- a/mi/mipointer.h +++ b/mi/mipointer.h @@ -122,11 +122,6 @@ extern int miPointerGetMotionEvents( ScreenPtr /*pScreen*/ ); -/* Deprecated in favour of miPointerUpdateSprite. */ -extern void miPointerUpdate( - void -) _X_DEPRECATED; - /* Deprecated in favour of miSetPointerPosition. */ extern void miPointerDeltaCursor( int /*dx*/, |