Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dix/window_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
#include "include/dix.h"
#include "include/window.h"

extern Mask DontPropagateMasks[];

#define wDontPropagateMask(w) wUseDefault(w, dontPropagateMask, DontPropagateMasks[(w)->dontPropagate])

/*
* @brief create a window
*
Expand Down
3 changes: 0 additions & 3 deletions include/windowstr.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,6 @@ typedef struct _Window {
* fields (or filling the appropriate default value)
*/

extern _X_EXPORT Mask DontPropagateMasks[];

#define wTrackParent(w,field) ((w)->optional ? \
(w)->optional->field \
: FindWindowWithOptional(w)->optional->field)
Expand All @@ -183,7 +181,6 @@ extern _X_EXPORT Mask DontPropagateMasks[];
#define wVisual(w) wTrackParent(w, visual)
#define wCursor(w) ((w)->cursorIsNone ? None : wTrackParent(w, cursor))
#define wColormap(w) ((w)->drawable.class == InputOnly ? None : wTrackParent(w, colormap))
#define wDontPropagateMask(w) wUseDefault(w, dontPropagateMask, DontPropagateMasks[(w)->dontPropagate])
#define wOtherEventMasks(w) wUseDefault(w, otherEventMasks, 0)
#define wOtherClients(w) wUseDefault(w, otherClients, NULL)
#define wOtherInputMasks(w) wUseDefault(w, inputMasks, NULL)
Expand Down
Loading