From e73a4b492eb023bb0461bc32aabd14d39326d156 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 7 Nov 2025 14:29:35 +0100 Subject: [PATCH] [PR #1467] dix: unexport defaultColorVisualClass PR: https://github.com/X11Libre/xserver/pull/1467 --- dix/dix_priv.h | 2 ++ include/globals.h | 1 - mi/micmap.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dix/dix_priv.h b/dix/dix_priv.h index c8abe051f..5bf39ff56 100644 --- a/dix/dix_priv.h +++ b/dix/dix_priv.h @@ -66,6 +66,8 @@ extern Bool party_like_its_1989; /* needed by libglx and libglamor (server modules) */ extern _X_EXPORT Bool enableIndirectGLX; +extern int defaultColorVisualClass; + /* * @brief callback right after one screen's root window has been initialized * diff --git a/include/globals.h b/include/globals.h index ecb7b2bb0..ca922638a 100644 --- a/include/globals.h +++ b/include/globals.h @@ -8,6 +8,5 @@ extern _X_EXPORT const char *defaultFontPath; extern _X_EXPORT int monitorResolution; -extern _X_EXPORT int defaultColorVisualClass; #endif /* !_XSERV_GLOBAL_H_ */ diff --git a/mi/micmap.c b/mi/micmap.c index f9201f942..bfc7a4c66 100644 --- a/mi/micmap.c +++ b/mi/micmap.c @@ -33,6 +33,7 @@ #include #include "dix/colormap_priv.h" +#include "dix/dix_priv.h" #include "mi/mi_priv.h" #include "os/bug_priv.h" #include "os/osdep.h"