mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-08 12:38:03 +02:00
Xi: set xChangeDeviceControlReply.status to Success by default
If the status is other than Success, the code will set it to the required value. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
2decff6393
commit
3018f9c1e5
1 changed files with 2 additions and 1 deletions
|
|
@ -126,7 +126,8 @@ ProcXChangeDeviceControl(ClientPtr client)
|
|||
.repType = X_Reply,
|
||||
.RepType = X_ChangeDeviceControl,
|
||||
.sequenceNumber = client->sequence,
|
||||
.length = 0
|
||||
.length = 0,
|
||||
.status = Success,
|
||||
};
|
||||
|
||||
switch (stuff->control) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue