File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 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 *
Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments