Backport dix fixes to 21.1-branch
Includes fixes from !1251 (merged) by @whot and from !1673 (merged) by me.
Alan Coopersmith (11):
- dix: check for calloc() failure in Xi event conversion routines
- dix: PolyText: fully initialize local_closure
- dix: SetFontPath: don't set errorValue on Success
- dix: enterleave.c: fix implicit fallthrough warnings
- dix: CreateScratchGC: avoid dereference of pointer we just set to NULL
- dix: InitPredictableAccelerationScheme: avoid memory leak on failure
- dix: dixChangeWindowProperty: don't call memcpy if malloc failed
- dix: ProcListProperties: skip unneeded work if numProps is 0
- dix: HashResourceID: use unsigned integers for bit shifting
- dix: GetPairedDevice: check if GetMaster returned NULL
- dix: FindBestPixel: fix implicit fallthrough warning
Peter Hutterer (1):
- dix: fix valuator copy/paste error in the DeviceStateNotify event