summaryrefslogtreecommitdiff
path: root/Xi/warpdevp.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/warpdevp.c')
-rw-r--r--Xi/warpdevp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Xi/warpdevp.c b/Xi/warpdevp.c
index 502cab402..c8e8d6116 100644
--- a/Xi/warpdevp.c
+++ b/Xi/warpdevp.c
@@ -155,10 +155,8 @@ ProcXWarpDevicePointer(ClientPtr client)
else if (y >= pSprite->physLimits.y2)
y = pSprite->physLimits.y2 - 1;
-#if defined(SHAPE)
if (pSprite->hotShape)
ConfineToShape(pDev, pSprite->hotShape, &x, &y);
-#endif
(*newScreen->SetCursorPosition)(pDev, newScreen, x, y, TRUE);
} else if (!PointerConfinedToScreen(pDev))
{