diff options
Diffstat (limited to 'dix')
-rw-r--r-- | dix/events.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/dix/events.c b/dix/events.c index 9fcd447a3..9703ca9cd 100644 --- a/dix/events.c +++ b/dix/events.c @@ -2693,12 +2693,13 @@ DeliverDeviceEvents(WindowPtr pWin, InternalEvent *event, GrabPtr grab, break; } - if ((deliveries < 0) || (pWin == stopAt) || - (mask & EVENT_DONT_PROPAGATE_MASK)) - { - deliveries = 0; - break; - } + } + + if ((deliveries < 0) || (pWin == stopAt) || + (mask & EVENT_DONT_PROPAGATE_MASK)) + { + deliveries = 0; + break; } child = pWin->drawable.id; |