dix: fix cursor screen check for xinerama setups.
The de-duplication of CheckPhysLimits 942eae6868
added a
condition that is invalid for a Xinerama setup. pScreen is invalid for the
Xinerama case, so comparing it to anything is a bad idea.
Signed-off-by: Tim Yamin <plasm@roo.me.uk>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
fc5d767408
commit
5f31e21961
|
@ -738,7 +738,11 @@ CheckPhysLimits(
|
||||||
new.y = pSprite->physLimits.y2 - 1;
|
new.y = pSprite->physLimits.y2 - 1;
|
||||||
if (pSprite->hotShape)
|
if (pSprite->hotShape)
|
||||||
ConfineToShape(pDev, pSprite->hotShape, &new.x, &new.y);
|
ConfineToShape(pDev, pSprite->hotShape, &new.x, &new.y);
|
||||||
if ((pScreen != pSprite->hotPhys.pScreen) ||
|
if ((
|
||||||
|
#ifdef PANORAMIX
|
||||||
|
noPanoramiXExtension &&
|
||||||
|
#endif
|
||||||
|
(pScreen != pSprite->hotPhys.pScreen)) ||
|
||||||
(new.x != pSprite->hotPhys.x) || (new.y != pSprite->hotPhys.y))
|
(new.x != pSprite->hotPhys.x) || (new.y != pSprite->hotPhys.y))
|
||||||
{
|
{
|
||||||
#ifdef PANORAMIX
|
#ifdef PANORAMIX
|
||||||
|
|
Loading…
Reference in New Issue