Fix up u_Panning-Set-panning-state-in-xf86RandR12ScreenSetSize.patch

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=606
This commit is contained in:
Egbert Eich 2016-01-15 20:20:46 +00:00 committed by Git OBS Bridge
parent 0ba3a198e2
commit 13169882ae

View File

@ -32,7 +32,7 @@ index eae7016..9f444dd 100644
if (crtc->panningTrackingArea.y2 > crtc->panningTrackingArea.y1) if (crtc->panningTrackingArea.y2 > crtc->panningTrackingArea.y1)
crtc->panningTrackingArea.y2 += height - pScreen->height; crtc->panningTrackingArea.y2 += height - pScreen->height;
xf86RandR13VerifyPanningArea(crtc, width, height); xf86RandR13VerifyPanningArea(crtc, width, height);
+ panning = PANNING_ENABLED (crtc); + panning = panning ? TRUE : PANNING_ENABLED (crtc);
xf86RandR13Pan(crtc, randrp->pointerX, randrp->pointerY); xf86RandR13Pan(crtc, randrp->pointerX, randrp->pointerY);
} }
} }