From 3e06a808feda2a5fc86568672f83c2435159627c Mon Sep 17 00:00:00 2001 From: David Reveman Date: Thu, 10 Jul 2008 08:53:14 -0400 Subject: [PATCH] Use SubstructureRedirectMask event mask for all windows. --- hw/dmx/dmxwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {