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