mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-21 20:26:45 +00:00
Xi: Change ChangeMasterDeviceClasses to new XI2 events.
Split ChangeMasterDeviceClasses into an extra XISendDeviceChangedEvent that assembles the XI2 wire event for the DeviceChanged event. Re-use this when detaching the last SD. Not quite perfect yet, we still copy the device classes from the slave now rather than from the data we had when the event occured. But it's a start. (We can now unexport SizeDeviceInfo and CopySwapDevices, not needed anymore) Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
181e41511d
commit
38bba0c1b7
9 changed files with 209 additions and 111 deletions
|
|
@ -250,4 +250,8 @@ extern _X_EXPORT int XIPropToFloat(
|
|||
* would it merely be irrelevant and confusing? */
|
||||
extern _X_EXPORT int XIShouldNotify(ClientPtr client, DeviceIntPtr dev);
|
||||
|
||||
extern void
|
||||
XISendDeviceChangedEvent(DeviceIntPtr device, DeviceIntPtr master,
|
||||
DeviceChangedEvent *dce);
|
||||
|
||||
#endif /* EXEVENTS_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue