DescriptionMerge 252257 "events: Fix event-targeting for transformed windows."
> events: Fix event-targeting for transformed windows.
>
> Applying the transforms on a Window's bounds does not give the correct transformed
> bounds of the window in its parent's coordinate system. For example, a Window with
> size 300x200 at position 20,10 and scaled at 50% has bounds (20, 10, 150, 100), and
> not (10, 5, 150, 100). So remove this transform from the window-targeting code, and
> instead convert the event's location to be in the child Window's coordinate system
> when doing hit-testing.
>
> This fixes selecting windows when in overview mode.
>
> BUG=339834
> R=sky@chromium.org
>
> Review URL: https://codereview.chromium.org/167323004
TBR=sadrul@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253297
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|