Use SubstructureRedirectMask event mask for all windows.

This commit is contained in:
David Reveman 2008-07-10 08:53:14 -04:00
parent 257fa2406b
commit 3e06a808fe

View file

@ -91,7 +91,7 @@ Window dmxCreateRootWindow(WindowPtr pWindow)
Window win = None;
mask = CWEventMask;
attribs.event_mask = ExposureMask;
attribs.event_mask = ExposureMask | SubstructureRedirectMask;
/* Incorporate new attributes, if needed */
if (pWinPriv->attribMask) {
@ -272,7 +272,7 @@ static Window dmxCreateNonRootWindow(WindowPtr pWindow)
}
mask |= CWEventMask;
attribs.event_mask = ExposureMask;
attribs.event_mask = ExposureMask | SubstructureRedirectMask;
/* Incorporate new attributes, if needed */
if (pWinPriv->attribMask) {