Chromium Code Reviews
Descriptionexo: Fix widget positioning for pop-ups
Since the initial bounds of a ShellSurface were relative to the root
window, pop-up windows (e.g. context menus in weston-terminal) whose
parents are on a secondary display would appear on the primary display.
In addition, the initial bounds were not taken into consideration when
updating the widget bounds.
BUG=631136
TEST=Drag weston-terminal to secondary display and right-click.
TEST=No regression for ARC windows.
Committed: https://crrev.com/24078fe2e32b15d2a2aacc9785f92d2c5da0d3c4
Cr-Commit-Position: refs/heads/master@{#429720}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add unit test #
Messages
Total messages: 18 (11 generated)
|
|||||||||||||||||||||||||||||||||||||