mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-09 14:40:15 +01:00
Xi: exit with error value if CheckGrabValues failed.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
(cherry picked from commit a3f37f3698)
This commit is contained in:
parent
e3887c8fa3
commit
0de1802c99
1 changed files with 2 additions and 0 deletions
|
|
@ -159,6 +159,8 @@ ProcXIPassiveGrabDevice(ClientPtr client)
|
|||
return status;
|
||||
|
||||
status = CheckGrabValues(client, ¶m);
|
||||
if (status != Success)
|
||||
return status;
|
||||
|
||||
modifiers = (uint32_t*)&stuff[1] + stuff->mask_len;
|
||||
modifiers_failed = calloc(stuff->num_modifiers, sizeof(xXIGrabModifierInfo));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue