diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-11-12 11:35:18 +1030 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-11-12 11:35:18 +1030 |
commit | a05f43bf3e9629df98e93c366d4327f20ed81e6c (patch) | |
tree | 507082cc88712376af9d45e742ab5d9833b6f929 /Xi/listdev.h | |
parent | 7a81bafc9bc7048560b17483e6addf58469a05d0 (diff) |
dix: When the last slave is removed, set master to the original classes.
DeviceClassesChangedEvent is sent to the client, where device == new slave.
Diffstat (limited to 'Xi/listdev.h')
-rw-r--r-- | Xi/listdev.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/Xi/listdev.h b/Xi/listdev.h index afdcd6992..22a0d91c8 100644 --- a/Xi/listdev.h +++ b/Xi/listdev.h @@ -44,15 +44,9 @@ void SRepXListInputDevices(ClientPtr /* client */ , ); void -CopySwapKeyClass(ClientPtr /* client */, - KeyClassPtr /* k */, - char** /* buf */); -void -CopySwapButtonClass(ClientPtr /* client */, - ButtonClassPtr /* b */, - char** /* buf */); -int -CopySwapValuatorClass(ClientPtr /* client */, - ValuatorClassPtr /* v */, - char** /* buf */); +CopySwapClasses(ClientPtr /* client */, + DeviceIntPtr /* dev */, + CARD8* /* num_classes */, + char** /* classbuf */); + #endif /* LISTDEV_H */ |