diff --git a/hw/dmx/dmxwindow.c b/hw/dmx/dmxwindow.c index a2e9e972b..b191a5a38 100644 --- a/hw/dmx/dmxwindow.c +++ b/hw/dmx/dmxwindow.c @@ -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) {