Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Issue 2934953002: exo: Reparent pointer surface (Closed)

Created:
3 years, 6 months ago by Dominik Laskowski
Modified:
3 years, 6 months ago
Reviewers:
reveman
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

exo: Reparent pointer surface When the display configuration changes, the pointer surface must be reparented to the new primary display. A client-side bug previously forced a surface change on pointer enter, causing the surface to be reparented to the latest primary display. BUG=730843 TEST=Verify correct parenting by printing window hierarchy. Review-Url: https://codereview.chromium.org/2934953002 Cr-Commit-Position: refs/heads/master@{#479073} Committed: https://chromium.googlesource.com/chromium/src/+/f86ddbbc48abb0d8c2ad6ee10a1728ff7e87e00c

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comment #

Patch Set 3 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -18 lines) Patch
M components/exo/pointer.h View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M components/exo/pointer.cc View 5 chunks +31 lines, -18 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
Dominik Laskowski
PTAL. Split from https://codereview.chromium.org/2933133002/
3 years, 6 months ago (2017-06-12 21:49:34 UTC) #4
reveman
Why does it have to be re-parented? Why can't we instead adjust the scale used ...
3 years, 6 months ago (2017-06-12 21:56:09 UTC) #5
Dominik Laskowski
On 2017/06/12 21:56:09, reveman wrote: > Why does it have to be re-parented? Why can't ...
3 years, 6 months ago (2017-06-12 22:05:43 UTC) #6
reveman
Why not add it to the layer tree at the time of capture and then ...
3 years, 6 months ago (2017-06-12 22:13:45 UTC) #7
reveman
Maybe not even bother to remove it. Just make sure to add it before each ...
3 years, 6 months ago (2017-06-12 22:15:30 UTC) #8
Dominik Laskowski
On 2017/06/12 22:15:30, reveman wrote: > Why not add it to the layer tree at ...
3 years, 6 months ago (2017-06-12 22:43:25 UTC) #11
reveman
Ok, I'm convinced that this is ideal. Thanks for explaining. Lgtm with nit https://codereview.chromium.org/2934953002/diff/1/components/exo/pointer.h File ...
3 years, 6 months ago (2017-06-13 00:06:45 UTC) #12
Dominik Laskowski
https://codereview.chromium.org/2934953002/diff/1/components/exo/pointer.h File components/exo/pointer.h (right): https://codereview.chromium.org/2934953002/diff/1/components/exo/pointer.h#newcode80 components/exo/pointer.h:80: void UpdatePointerSurface(Surface* surface); On 2017/06/13 00:06:45, reveman wrote: > ...
3 years, 6 months ago (2017-06-13 17:53:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2934953002/40001
3 years, 6 months ago (2017-06-13 17:54:27 UTC) #16
commit-bot: I haz the power
3 years, 6 months ago (2017-06-13 18:36:14 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/f86ddbbc48abb0d8c2ad6ee10a17...

Powered by Google App Engine
This is Rietveld 408576698