From 95f802e3f6735677277b6c12e9f38247f4c52e2c Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 23 May 2025 16:28:20 +0200 Subject: [PATCH] dix: unexport RootWindowFinalizeCallback field Not used by any external drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- dix/dix_priv.h | 5 +++++ hw/xfree86/ddc/ddcProperty.c | 2 ++ hw/xwayland/xwayland-screen.c | 1 + include/dix.h | 2 -- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dix/dix_priv.h b/dix/dix_priv.h index b7089f879..52cb31515 100644 --- a/dix/dix_priv.h +++ b/dix/dix_priv.h @@ -505,4 +505,9 @@ int DeliverEventsToWindow(DeviceIntPtr pDev, WindowPtr pWindow, xEventPtr pEvent size_t count, Mask filter, GrabPtr grab) _X_ATTRIBUTE_NONNULL_ARG(1,2,3); +/* + * @brief callback when root window has is finalized + */ +extern CallbackListPtr RootWindowFinalizeCallback; + #endif /* _XSERVER_DIX_PRIV_H */ diff --git a/hw/xfree86/ddc/ddcProperty.c b/hw/xfree86/ddc/ddcProperty.c index e68672e43..273430231 100644 --- a/hw/xfree86/ddc/ddcProperty.c +++ b/hw/xfree86/ddc/ddcProperty.c @@ -25,6 +25,8 @@ #include #endif +#include "dix/dix_priv.h" + #include "xf86.h" #include "xf86DDC.h" #include "xf86Priv.h" diff --git a/hw/xwayland/xwayland-screen.c b/hw/xwayland/xwayland-screen.c index 308879213..9b3b0e0ea 100644 --- a/hw/xwayland/xwayland-screen.c +++ b/hw/xwayland/xwayland-screen.c @@ -37,6 +37,7 @@ #include #include +#include "dix/dix_priv.h" #include "dix/input_priv.h" #include "dix/property_priv.h" #include "os/client_priv.h" diff --git a/include/dix.h b/include/dix.h index 70573a85b..98dc3c6d5 100644 --- a/include/dix.h +++ b/include/dix.h @@ -313,8 +313,6 @@ typedef struct { DeviceIntPtr device; } DeviceEventInfoRec; -extern _X_EXPORT CallbackListPtr RootWindowFinalizeCallback; - extern _X_EXPORT Bool IsPointerDevice(DeviceIntPtr dev);