mi: check for MASTER_POINTER instead of manual checks.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <tissoire@cena.fr>
This commit is contained in:
parent
52c13896ce
commit
0ba526deeb
|
@ -540,7 +540,7 @@ miPointerMoveNoEvent (DeviceIntPtr pDev, ScreenPtr pScreen,
|
|||
* VCP, as this may cause a non-HW rendered cursor to be rendered during
|
||||
* SIGIO. This again leads to allocs during SIGIO which leads to SIGABRT.
|
||||
*/
|
||||
if ((pDev == inputInfo.pointer || (!IsMaster(pDev) && pDev->u.master == inputInfo.pointer))
|
||||
if (GetMaster(pDev, MASTER_POINTER) == inputInfo.pointer
|
||||
&& !pScreenPriv->waitForUpdate && pScreen == pPointer->pSpriteScreen)
|
||||
{
|
||||
pPointer->devx = x;
|
||||
|
|
Loading…
Reference in New Issue
Block a user