dix: Fix handling of do_not_propagate_mask window attribute.
This was broken in32aa252e98
. Signed-off-by: Kim Woelders <kim@woelders.dk> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit30d2cfcd38
) Conflicts: dix/events.c Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
93e510d3ab
commit
8cfb353078
19
dix/events.c
19
dix/events.c
@ -2351,13 +2351,11 @@ DeliverDeviceEvents(WindowPtr pWin, xEvent *xE, GrabPtr grab,
|
||||
if (deliveries > 0)
|
||||
return deliveries;
|
||||
}
|
||||
|
||||
if ((deliveries < 0) ||
|
||||
(pWin == stopAt) ||
|
||||
(inputMasks &&
|
||||
(filter & inputMasks->dontPropagateMask[mskidx])))
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ((deliveries < 0) || (pWin == stopAt) ||
|
||||
(inputMasks && (filter & inputMasks->dontPropagateMask[mskidx])))
|
||||
return 0;
|
||||
} else
|
||||
{
|
||||
core = *xE;
|
||||
@ -2373,12 +2371,11 @@ DeliverDeviceEvents(WindowPtr pWin, xEvent *xE, GrabPtr grab,
|
||||
if (deliveries > 0)
|
||||
return deliveries;
|
||||
}
|
||||
|
||||
if ((deliveries < 0) ||
|
||||
(pWin == stopAt) ||
|
||||
(filter & wDontPropagateMask(pWin)))
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ((deliveries < 0) || (pWin == stopAt) ||
|
||||
(filter & wDontPropagateMask(pWin)))
|
||||
return 0;
|
||||
}
|
||||
|
||||
child = pWin->drawable.id;
|
||||
|
Loading…
Reference in New Issue
Block a user