Skip to content

Commit 7387f05

Browse files
committed
[PR #1387] dix: unexport DontPropagateMask and wDontPropagateMask() macro
PR: #1387
1 parent 56a8adb commit 7387f05

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

dix/window_priv.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
#include "include/dix.h"
1111
#include "include/window.h"
1212

13+
extern Mask DontPropagateMasks[];
14+
15+
#define wDontPropagateMask(w) wUseDefault(w, dontPropagateMask, DontPropagateMasks[(w)->dontPropagate])
16+
1317
/*
1418
* @brief create a window
1519
*

include/windowstr.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,6 @@ typedef struct _Window {
171171
* fields (or filling the appropriate default value)
172172
*/
173173

174-
extern _X_EXPORT Mask DontPropagateMasks[];
175-
176174
#define wTrackParent(w,field) ((w)->optional ? \
177175
(w)->optional->field \
178176
: FindWindowWithOptional(w)->optional->field)
@@ -183,7 +181,6 @@ extern _X_EXPORT Mask DontPropagateMasks[];
183181
#define wVisual(w) wTrackParent(w, visual)
184182
#define wCursor(w) ((w)->cursorIsNone ? None : wTrackParent(w, cursor))
185183
#define wColormap(w) ((w)->drawable.class == InputOnly ? None : wTrackParent(w, colormap))
186-
#define wDontPropagateMask(w) wUseDefault(w, dontPropagateMask, DontPropagateMasks[(w)->dontPropagate])
187184
#define wOtherEventMasks(w) wUseDefault(w, otherEventMasks, 0)
188185
#define wOtherClients(w) wUseDefault(w, otherClients, NULL)
189186
#define wOtherInputMasks(w) wUseDefault(w, inputMasks, NULL)

0 commit comments

Comments
 (0)