DescriptionLinux: Remove --wm-user-time-ms command line argument
CL ca3656d added the --wm-user-time-ms command line argument so that
window activation would be more reliable. However, its implementation
was awkward and complex, and is no longer needed now that
X11EventSource::GetTimestamp() provides the correct functionality.
Explanation: X11EventSource::GetTimestamp() gives the timestamp of the
event currently being dispatched. If there's no event being
dispatched, or the event does not have a timestamp, we fall back on
making a round trip. Simply using last_seen_server_time like we did
with activation before ca3656d meant that the timestamp we used could
be out of date if we were activating in response to anything other
than a user input event. This is what led to the --wm-user-time-ms
hack.
Committed: https://crrev.com/e529d3df7073d643f2176bbc4e6534f00d072209
Cr-Commit-Position: refs/heads/master@{#416411}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Rename #
Total comments: 2
Patch Set 3 : Deprecate histogram #
Messages
Total messages: 35 (23 generated)
|