mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
xwin: canonical walkScreen variable on screen list iterations
When iterating screen lists, consistently use the same variable name `walkScreen` for holding current screen pointer everywhere. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
5823fc2b7f
commit
3e76baff89
@@ -1077,8 +1077,8 @@ winModifyPixmapHeaderMultiwindow(PixmapPtr pPixmap,
|
||||
|
||||
/* Look for which screen this pixmap corresponds to */
|
||||
for (i = 0; i < screenInfo.numScreens; i++) {
|
||||
ScreenPtr pScreen = screenInfo.screens[i];
|
||||
winScreenPriv(pScreen);
|
||||
ScreenPtr walkScreen = screenInfo.screens[i];
|
||||
winScreenPriv(walkScreen);
|
||||
winScreenInfo *pScreenInfo = pScreenPriv->pScreenInfo;
|
||||
|
||||
if (pScreenInfo->pfb == pPixData)
|
||||
|
||||
Reference in New Issue
Block a user