dix: Remove InitSprite, work can be done by InitializeSprite.

Free sprite struct if a spriteOwner is paired.

xfree86: Use PairDevices instead of passing booleans around when creating a
         sprite.

Xext:    Switch back to using LookupPointer/KeyboardDevice instead of
         inputInfo.xyz.
This commit is contained in:
Peter Hutterer
2007-03-01 17:19:37 +10:30
committed by Peter Hutterer
parent 2a35d44b6d
commit 43bd35fcf8
7 changed files with 38 additions and 13 deletions

View File

@@ -355,7 +355,7 @@ typedef struct _DeviceIntRec {
int nPrivates;
DeviceUnwrapProc unwrapProc;
Bool isMPDev; /* TRUE if multipointer device */
/* Each devices has a sprite. However, keyboards and shared pointers do
/* Each device has a sprite. However, keyboards and shared pointers do
not in fact own a sprite but rather have their pointer set to the
sprite of another device. pSprite always has to point to a valid
sprite. spriteOwner indicates whether it is the device's sprite. */