Don't use rootEventMask for non-root windows.

This commit is contained in:
David Reveman 2008-09-15 14:14:54 -04:00
parent 056985eff7
commit f777f9ee7e

View file

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