Xi: ChangeDeviceControl presence events should set the appropriate devchange.

Requires inputproto 1.4.4 or higher.
This commit is contained in:
Peter Hutterer 2008-07-29 10:00:01 +09:30
parent 25dd5ce077
commit 591ef3c047

View File

@ -276,7 +276,7 @@ out:
if (ret == Success) {
dpn.type = DevicePresenceNotify;
dpn.time = currentTime.milliseconds;
dpn.devchange = 1;
dpn.devchange = DeviceControlChanged;
dpn.deviceid = dev->id;
dpn.control = stuff->control;
SendEventToAllWindows(dev, DevicePresenceNotifyMask,