Chromium Code Reviews
DescriptionFixes bug in handling restacking because of transients
When a window is added/removed as a transient the siblings of the
window may get reordered. For example, consider windows W1, W2 and T1
in that order. If T1 is made a transient of W1, then T1 is stacked on
top of W1 so that the resulting order is W1, T1, W2. On the mus server
side when a window is made a transient mus handles the restacking
(meaning mus also restacks the windows on its side and does not send
out notification of the window moves, only that a transient was
added/removed, it assumes the client handles the restacking). If the
client also sends messages to restack then the changes fail (because
the windows are already in order).
Prior to this fix aura-mus would send moves for the transient restack,
resulting in a crash.
BUG=659155
TEST=covered by test
R=msw@chromium.org
Committed: https://crrev.com/c04167320f1bf4ece416ffc5dc6876da6921080f
Cr-Commit-Position: refs/heads/master@{#433680}
Patch Set 1 #Patch Set 2 : order #Patch Set 3 : merge 2 trunk #
Total comments: 20
Patch Set 4 : feedback #
Total comments: 5
Messages
Total messages: 28 (16 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||