dix: remove wrong InputInfo.pointer usage - should be pDev instead.
This commit is contained in:
parent
639658b2ea
commit
31301861c1
|
@ -5233,7 +5233,7 @@ CheckCursorConfinement(WindowPtr pWin)
|
|||
if (grab && (confineTo = grab->confineTo))
|
||||
{
|
||||
if (!BorderSizeNotEmpty(pDev, confineTo))
|
||||
(*inputInfo.pointer->deviceGrab.DeactivateGrab)(pDev);
|
||||
(*pDev->deviceGrab.DeactivateGrab)(pDev);
|
||||
else if ((pWin == confineTo) || IsParent(pWin, confineTo))
|
||||
ConfineCursorToWindow(pDev, confineTo, TRUE, TRUE);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user