summaryrefslogtreecommitdiff
path: root/mi/mipointer.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-10-16 18:03:52 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-10-16 18:03:52 +0930
commit5eb033835e92ea951cc385fd709af9656b3772d8 (patch)
tree771b2ab98f4e911473e422fbe485168df3e793e0 /mi/mipointer.c
parentb697c4ed145968d3c3281bb85e628f1b068b09fc (diff)
mi: don't exclude inputInfo.pointer from rendering.
Diffstat (limited to 'mi/mipointer.c')
-rw-r--r--mi/mipointer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mi/mipointer.c b/mi/mipointer.c
index 8dc7c7f5f..eabc43563 100644
--- a/mi/mipointer.c
+++ b/mi/mipointer.c
@@ -399,7 +399,7 @@ miPointerUpdateSprite (DeviceIntPtr pDev)
int x, y, devx, devy;
miPointerPtr pPointer;
- if (!pDev || pDev == inputInfo.pointer || !pDev->coreEvents)
+ if (!pDev || !pDev->coreEvents)
return;
pPointer = MIPOINTER(pDev);
@@ -530,7 +530,7 @@ miPointerMoved (DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y,
SetupScreen(pScreen);
- if (pDev && (pDev->coreEvents || pDev == inputInfo.pointer)
+ if (pDev && pDev->coreEvents
&& !pScreenPriv->waitForUpdate && pScreen == pPointer->pSpriteScreen)
{
pPointer->devx = x;
@@ -557,7 +557,7 @@ miPointerSetPosition(DeviceIntPtr pDev, int *x, int *y, unsigned long time)
if (!pScreen)
return; /* called before ready */
- if (!pDev || !(pDev->coreEvents || pDev == inputInfo.pointer))
+ if (!pDev || !pDev->coreEvents)
return;
if (*x < 0 || *x >= pScreen->width || *y < 0 || *y >= pScreen->height)