diff options
Diffstat (limited to 'xorg-server/composite')
-rw-r--r-- | xorg-server/composite/compext.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xorg-server/composite/compext.c b/xorg-server/composite/compext.c index 664b0fcc3..5e557dd0b 100644 --- a/xorg-server/composite/compext.c +++ b/xorg-server/composite/compext.c @@ -140,10 +140,7 @@ ProcCompositeQueryVersion (ClientPtr client) int err; \
err = dixLookupResourceByType((pointer *) &pWindow, wid, \
RT_WINDOW, client, mode); \
- if (err == BadValue) { \
- client->errorValue = wid; \
- return BadWindow; \
- } else if (err != Success) { \
+ if (err != Success) { \
client->errorValue = wid; \
return err; \
} \
|