From 7b801906c51beafdebc7483bda114fb3c9dba425 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 5 Jun 2025 15:49:36 +0200 Subject: [PATCH] mi: mark miWindowExposures() and miExpandDirectColors() exported These are used by the in-tree libwfb.so module. As long as this an shared object, instead of being directly linked into the executable, these symbols need to be in the executable's symbol table. Nevertheless, they're not making them part of the public SDK/module ABI, unless there's a really hard reason. Signed-off-by: Enrico Weigelt, metux IT consult --- mi/mi_priv.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mi/mi_priv.h b/mi/mi_priv.h index 3adcaf1b8..ba52f0340 100644 --- a/mi/mi_priv.h +++ b/mi/mi_priv.h @@ -55,6 +55,8 @@ typedef void (*mieqHandler) (int screen, InternalEvent *event, void mieqSetHandler(int event, mieqHandler handler); void miSendExposures(WindowPtr pWin, RegionPtr pRgn, int dx, int dy); + +_X_EXPORT /* used by in-tree libwfb.so module */ void miWindowExposures(WindowPtr pWin, RegionPtr prgn); void miPaintWindow(WindowPtr pWin, RegionPtr prgn, int what); @@ -84,6 +86,7 @@ void miMarkUnrealizedWindow(WindowPtr pChild, WindowPtr pWin, Bool fromConfigure WindowPtr miSpriteTrace(SpritePtr pSprite, int x, int y); WindowPtr miXYToWindow(ScreenPtr pScreen, SpritePtr pSprite, int x, int y); +_X_EXPORT /* used by in-tree libwfb.so module */ int miExpandDirectColors(ColormapPtr, int, xColorItem *, xColorItem *); #endif /* _XSERVER_MI_PRIV_H */