From 3e76baff890d2891dc424387ede75d206199edc8 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 12 Aug 2025 18:51:31 +0200 Subject: [PATCH] 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 --- hw/xwin/winmultiwindowwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xwin/winmultiwindowwindow.c b/hw/xwin/winmultiwindowwindow.c index 616cf118e1..c4ea477ad9 100644 --- a/hw/xwin/winmultiwindowwindow.c +++ b/hw/xwin/winmultiwindowwindow.c @@ -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)