mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 17:40:05 +01:00
Don't use rootEventMask for non-root windows.
This commit is contained in:
parent
056985eff7
commit
f777f9ee7e
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue