summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-04-26 20:18:13 -0700
committerKeith Packard <keithp@keithp.com>2010-04-26 20:18:13 -0700
commit3f63db89191701139d45332ca80b9d6eb327c773 (patch)
treed70a66735a976c5705273b911f4d5b294e9a1b0d /dix
parent41bdb6c003cca3ef0ff88d9c7de318115bab1ba2 (diff)
parent54e51de8cd950b3f5b30e72cf1d604f54f619f0e (diff)
Merge remote branch 'jamey/for-keith'
Diffstat (limited to 'dix')
-rw-r--r--dix/events.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c
index 6d0137da4..b26e28af7 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -5355,7 +5355,6 @@ ProcGrabButton(ClientPtr client)
rc = dixLookupResourceByType((pointer *)&cursor, stuff->cursor, RT_CURSOR,
client, DixUseAccess);
if (rc != Success)
- if (!cursor)
{
client->errorValue = stuff->cursor;
return (rc == BadValue) ? BadCursor : rc;