0
Files
src/ash/frame
Sophie Wen 6682b3f1ed snap-groups: Fix re-snap via window layout menu
This CL fixes the issue when a snap group with a partially occluding
window is re-snapped via the layout menu.

The only change is to activate the window *before* committing the snap
event when the layout menu button is pressed, to stack the opposite
snapped window on top and avoid starting partial overview.

Demo: https://b.corp.google.com/issues/348068768#comment9

Test: added, verified it fails w/o fix in patchset 1
Bug: b/348068768
Change-Id: I74190c74bca6164433cf5ede7135fc04c52418ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5646911
Commit-Queue: Sophie Wen <sophiewen@chromium.org>
Reviewed-by: Ahmed Fakhry <afakhry@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1318150}
2024-06-21 20:47:51 +00:00
..