mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-06 22:30:14 +01:00
Xi: ChangeDeviceControl presence events should set the appropriate devchange.
Requires inputproto 1.4.4 or higher.
(cherry picked from commit 591ef3c047)
This commit is contained in:
parent
da29a25315
commit
b6024da704
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue