From f9ae5def143cb52c9556f8c7d98d8926c0f60886 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 3 Sep 2025 09:45:06 +0200 Subject: [PATCH] Xext: panoramix: drop dead code path on GLXPROXY symbol This symbol doesn't seem to be defined ever (neither in Xorg tree, nor any headers) - it's a relic from DMX, which had been removed aeons ago. So let's drop that dead code path. Signed-off-by: Enrico Weigelt, metux IT consult --- Xext/panoramiX.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c index 97f90e14ac..6095365b07 100644 --- a/Xext/panoramiX.c +++ b/Xext/panoramiX.c @@ -59,11 +59,6 @@ Equipment Corporation. #include "compint.h" #include "protocol-versions.h" -#ifdef GLXPROXY -extern VisualPtr glxMatchVisual(ScreenPtr pScreen, - VisualPtr pVisual, ScreenPtr pMatchScreen); -#endif - /* Xinerama is disabled by default unless enabled via +xinerama */ Bool noPanoramiXExtension = TRUE; @@ -761,11 +756,7 @@ PanoramiXMaybeAddVisual(VisualPtr pVisual) for (k = 0; k < walkScreen->numVisuals; k++) { VisualPtr candidate = &walkScreen->visuals[k]; - if ((*XineramaVisualsEqualPtr) (pVisual, walkScreen, candidate) -#ifdef GLXPROXY - && glxMatchVisual(screenInfo.screens[0], pVisual, pScreen) -#endif - ) { + if ((*XineramaVisualsEqualPtr) (pVisual, walkScreen, candidate)) { found = TRUE; break; }