Cleaning up a bit.

Register correct event in EventSwapVector.
Fix up event swap for GE events, register XI's swap function at GE.
This commit is contained in:
Peter Hutterer 2007-05-02 18:16:40 +09:30
commit c03d9a7217
3 changed files with 43 additions and 22 deletions

View file

@ -131,5 +131,7 @@ SPointerKeyboardPairingChangedNotifyEvent (pairingChangedNotify *from,
*to = *from;
swaps(&to->sequenceNumber, n);
swapl(&to->length, n);
swapl(&to->evtype, n);
swapl(&to->time, n);
}