diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-03-09 09:54:12 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-04-18 13:04:42 +1000 |
commit | f4d9ff73b161d84d3fcacc5834fa714c113c7a10 (patch) | |
tree | 6baee579c9402439ad0ad2229f095673e03e9831 /Xi/extinit.c | |
parent | 2a49ffa3c94819e9f28dd939f23ee8a675258172 (diff) |
Xi: fix reply swapping function check for XIPassiveGrabDevice
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'Xi/extinit.c')
-rw-r--r-- | Xi/extinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/extinit.c b/Xi/extinit.c index 0b7280d95..51e00783c 100644 --- a/Xi/extinit.c +++ b/Xi/extinit.c @@ -511,7 +511,7 @@ SReplyIDispatch(ClientPtr client, int len, xGrabDeviceReply * rep) SRepXIQueryDevice(client, len, (xXIQueryDeviceReply*)rep); else if (rep->RepType == X_XIGrabDevice) SRepXIGrabDevice(client, len, (xXIGrabDeviceReply *) rep); - else if (rep->RepType == X_XIGrabDevice) + else if (rep->RepType == X_XIPassiveGrabDevice) SRepXIPassiveGrabDevice(client, len, (xXIPassiveGrabDeviceReply *) rep); else if (rep->RepType == X_XIListProperties) SRepXIListProperties(client, len, (xXIListPropertiesReply *) rep); |