mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 16:00:05 +01:00
dix: fix cursor screen check for xinerama setups.
The de-duplication of CheckPhysLimits942eae6868added 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> (cherry picked from commit5f31e21961) Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
8616c5eb75
commit
ff02e0e4a2
1 changed files with 5 additions and 1 deletions
|
|
@ -738,7 +738,11 @@ CheckPhysLimits(
|
|||
new.y = pSprite->physLimits.y2 - 1;
|
||||
if (pSprite->hotShape)
|
||||
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))
|
||||
{
|
||||
#ifdef PANORAMIX
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue