From a2a6a86a6403349b85c28c7cf8dbe40d2b18d028 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 10 Nov 2025 19:16:32 +0100 Subject: [PATCH] [PR #1387] dix: unexport DontPropagateMask and wDontPropagateMask() macro PR: https://github.com/X11Libre/xserver/pull/1387 --- dix/window_priv.h | 4 ++++ include/windowstr.h | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dix/window_priv.h b/dix/window_priv.h index e01c46fd5..947448f8a 100644 --- a/dix/window_priv.h +++ b/dix/window_priv.h @@ -39,6 +39,10 @@ #define SameBorder(as, a, bs, b) EqualPixUnion(as, a, bs, b) +extern Mask DontPropagateMasks[]; + +#define wDontPropagateMask(w) wUseDefault(w, dontPropagateMask, DontPropagateMasks[(w)->dontPropagate]) + /* * @brief create a window * diff --git a/include/windowstr.h b/include/windowstr.h index 2eb0dda29..fd18691bf 100644 --- a/include/windowstr.h +++ b/include/windowstr.h @@ -156,8 +156,6 @@ typedef struct _Window { PropertyPtr properties; /* default: NULL */ } WindowRec; -extern _X_EXPORT Mask DontPropagateMasks[]; - #define wBorderWidth(w) ((int) (w)->borderWidth) static inline PropertyPtr wUserProps(WindowPtr pWin) { return pWin->properties; }