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
|
@ -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…
Reference in New Issue
Block a user