mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 11:20:05 +01:00
Use SubstructureRedirectMask event mask for all windows.
This commit is contained in:
parent
257fa2406b
commit
3e06a808fe
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue