xfree86: Take input lock for xf86TransparentCursor
This commit is contained in:
parent
7198a6d4e7
commit
cfddd919cc
|
@ -261,6 +261,8 @@ xf86SetTransparentCursor(ScreenPtr pScreen)
|
|||
xf86CursorScreenKey);
|
||||
xf86CursorInfoPtr infoPtr = ScreenPriv->CursorInfoPtr;
|
||||
|
||||
input_lock();
|
||||
|
||||
if (!ScreenPriv->transparentData)
|
||||
ScreenPriv->transparentData =
|
||||
(*infoPtr->RealizeCursor) (infoPtr, NullCursor);
|
||||
|
@ -273,6 +275,8 @@ xf86SetTransparentCursor(ScreenPtr pScreen)
|
|||
ScreenPriv->transparentData);
|
||||
|
||||
(*infoPtr->ShowCursor) (infoPtr->pScrn);
|
||||
|
||||
input_unlock();
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue