diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-21 08:29:14 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-22 15:44:57 +1000 |
commit | d79318f269d959d566ec66239b4c985afd61b259 (patch) | |
tree | 9f131d45761880fa2d9e265fd852c012d28bec08 /include | |
parent | eeffb83fea2d87070beafd0c692fb0ad54d8335b (diff) |
dix: Add a deviceid to the DeviceChangedEvent.
ChangeDeviceId would actually overwrite the flags field if deviceid wasn't
present. Aside from the event of course not telling which device generated
it in the first place.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/events.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/events.h b/include/events.h index ab8f2176a..cc5092ee4 100644 --- a/include/events.h +++ b/include/events.h @@ -125,6 +125,7 @@ typedef struct int type; /**< ET_DeviceChanged */ int length; /**< Length in bytes */ Time time; /**< Time in ms */ + int deviceid; /**< Device whose capabilities have changed */ int flags; /**< Mask of ::HAS_OLD_SLAVE or ::HAS_NEW_SLAVE */ /** If flags & HAS_OLD_SLAVE is set, old_slaveid specifies SD previously * attached to this device. */ |