DescriptionRegularly poll the X11 event queue.
This change ensures that we deliver events which have been enqueued
in memory in a timely fashion. Previously they would just sit there
and rot until something happened to kick the display connection file
descriptor resulting in greyed out windows and delayed input events.
Added the "--dispatch-one-event-per-loop" switch to experiment with
a mode where the event loop only dispatches one X11 event each
iteration. By default, we dispatch all pending events to minimize
input dispatch latency.
Bug: 661
R=abarth@google.com, jamesr@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/6f37494c4bbcdc32e0a869bf0f08c6f1e12fdabc
Patch Set 1 #Patch Set 2 : update due to change in base API #Patch Set 3 : added a switch to dispatch one event at a time #Patch Set 4 : update deps #Patch Set 5 : rebase #
Messages
Total messages: 10 (4 generated)
|