dix: When the last slave is removed, set master to the original classes.

DeviceClassesChangedEvent is sent to the client, where device == new slave.
This commit is contained in:
Peter Hutterer
2007-11-12 11:35:18 +10:30
parent 7a81bafc9b
commit a05f43bf3e
6 changed files with 74 additions and 43 deletions

View File

@@ -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 */