diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2008-07-29 10:00:01 +0930 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2008-07-29 10:00:01 +0930 |
commit | 591ef3c047ab3597fef9d687205e99c254ff2040 (patch) | |
tree | c5e14de3372259b915bdb3a2ac00a4cfabbdf39b /Xi | |
parent | 25dd5ce0770c5ff91a79c12223fd4af52759900b (diff) |
Xi: ChangeDeviceControl presence events should set the appropriate devchange.
Requires inputproto 1.4.4 or higher.
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/chgdctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/chgdctl.c b/Xi/chgdctl.c index 8c97d8fe8..bbec7ccf0 100644 --- a/Xi/chgdctl.c +++ b/Xi/chgdctl.c @@ -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, |