From f98bee5e2e1b5b20ca4aef37fdeea40b1401b8b5 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 5 Jun 2025 17:49:21 +0200 Subject: [PATCH] dix: add RootWindowFinalizeCallback() to symbol table for legacy Nvidia. Nvidia has a strange habit of messing with really internal stuff, so need to add it to the executable's symbol table. Signed-off-by: Enrico Weigelt, metux IT consult --- dix/dix_priv.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dix/dix_priv.h b/dix/dix_priv.h index 3e2a90af8..64d724910 100644 --- a/dix/dix_priv.h +++ b/dix/dix_priv.h @@ -608,7 +608,8 @@ int DeliverEventsToWindow(DeviceIntPtr pDev, WindowPtr pWindow, xEventPtr pEvent /* * @brief callback when root window has is finalized */ -extern CallbackListPtr RootWindowFinalizeCallback; +/* only exported temporariy for Nvidia legacy */ +extern _X_EXPORT CallbackListPtr RootWindowFinalizeCallback; /* * @brief do post actions necessary when window got a new cursor