mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
panoramiX: XineramaGetImageData(): replace walk variable i by walkScreenIdx
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
e4081afa65
commit
69452c23ae
@@ -1155,12 +1155,12 @@ XineramaGetImageData(DrawablePtr *pDrawables,
|
||||
|
||||
int depth = (format == XYPixmap) ? 1 : pDraw->depth;
|
||||
|
||||
int i;
|
||||
FOR_NSCREENS_BACKWARD(i) {
|
||||
int walkScreenIdx;
|
||||
FOR_NSCREENS_BACKWARD(walkScreenIdx) {
|
||||
BoxRec TheBox;
|
||||
ScreenPtr walkScreen = screenInfo.screens[i];
|
||||
ScreenPtr walkScreen = screenInfo.screens[walkScreenIdx];
|
||||
|
||||
DrawablePtr pWalkDraw = pDrawables[i];
|
||||
DrawablePtr pWalkDraw = pDrawables[walkScreenIdx];
|
||||
ScreenPtr pScreen = pWalkDraw->pScreen;
|
||||
|
||||
TheBox.x1 = pScreen->x;
|
||||
|
||||
Reference in New Issue
Block a user