Re: [PATCH xserver 1/3] xfree86: Take the input lock for xf86RecolorCursor

2017-02-07 Thread Peter Hutterer
On Thu, Feb 02, 2017 at 10:51:44AM +, Chris Wilson wrote: > xf86RecolorCursor() may be called directly from XRecolorCursor as well > as from xf86ScreenSetCursor(). In the latter case, the input lock is > already held, but not for the former and so we need to add a wrapper > function that

[PATCH xserver 1/3] xfree86: Take the input lock for xf86RecolorCursor

2017-02-02 Thread Chris Wilson
xf86RecolorCursor() may be called directly from XRecolorCursor as well as from xf86ScreenSetCursor(). In the latter case, the input lock is already held, but not for the former and so we need to add a wrapper function that acquires the input lock before performing xf86RecolorCursor() Fixes: