diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2021-09-03 13:19:16 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2021-09-03 13:19:16 +0000 |
commit | 9b652580565e960bd497459fbf8f8baffb64d726 (patch) | |
tree | fc4b94130ced7fddea8a744ddaf4f5608885e256 /xserver/dix | |
parent | 595f95ad32a0d11859017ff1f97e17b5bf1ea25b (diff) |
Update to xserver 1.20.13.
Diffstat (limited to 'xserver/dix')
-rw-r--r-- | xserver/dix/devices.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xserver/dix/devices.c b/xserver/dix/devices.c index 00c453980..e7c74d7b7 100644 --- a/xserver/dix/devices.c +++ b/xserver/dix/devices.c @@ -2261,6 +2261,9 @@ ProcChangePointerControl(ClientPtr client) REQUEST(xChangePointerControlReq); REQUEST_SIZE_MATCH(xChangePointerControlReq); + /* If the device has no PtrFeedbackPtr, the xserver has a bug */ + BUG_RETURN_VAL (!mouse->ptrfeed, BadImplementation); + ctrl = mouse->ptrfeed->ctrl; if ((stuff->doAccel != xTrue) && (stuff->doAccel != xFalse)) { client->errorValue = stuff->doAccel; |