XIDeviceChangedEvents may occur on master devices too.

Prime example is a change in the number of buttons due to the availability
of a new slave device.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2009-06-18 00:29:44 +10:00
parent b40f48b15e
commit 3f0067b45e

View file

@ -1361,7 +1361,7 @@ EVENTHEADER { type: BYTE
A SlaveSwitch 'reason' can only occur on a master device.
If 'reason' is DeviceChange, the device itself has changed through
other means (e.g. a physical device change) and 'source' is
undefined. A DeviceChange can only occur on a slave device.
undefined.
source
The source of the new classes. Only defined in 'reason' is
SlaveSwitch.