Dispatching an input event to an app may spawn a nested message loop (e.g. for a context menu), which will prevent the app from acking the event before the window server times out.
As a workaround, https://codereview.chromium.org/1571953003 changed the input event handler to immediately ack the event, before dispatch. This means it can't know if the event was handled or not.
A better solution would be to process events normally and return their actual handled state, and only early-ack if we detect a nested message loop starting.
Comment 1 by bugdroid1@chromium.org
, Apr 28 2016