Chromium Code Reviews
Descriptionexo: Synchronize multi-display window positioning
This CL enables the compositor to synchronize window positions across
display configuration changes when bounds are controlled by the client.
In that case, the client uses screen coordinates for geometry updates,
and acknowledges when the compositor changes the origin of the screen
coordinate system. The compositor compensates for in-flight geometry
updates until it receives the acknowledgement, at which point it
switches to the new coordinate system.
For ARC in extended desktop mode, this prevents a race that causes
windows to briefly appear at an incorrect location when a display is
connected or disconnected.
Note that ShellSurface::SetOrigin will be used in a follow-up CL to
implement support for multiple displays in ARC.
BUG=642894
TEST=samus: Window positions are updated atomically when changing the
display configuration, e.g. closing the lid to enter docked mode.
Review-Url: https://codereview.chromium.org/2706543002
Cr-Commit-Position: refs/heads/master@{#452913}
Committed: https://chromium.googlesource.com/chromium/src/+/908ff1bf9511fe0a66bea48737a898ca71c81440
Patch Set 1 #
Total comments: 10
Patch Set 2 : Fix shadow and address comments #
Total comments: 2
Patch Set 3 : Address nit #
Messages
Total messages: 20 (13 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||