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

Issue 2725383002: Don't exit SetBounds early for X11Window. (Closed)

Created:
3 years, 9 months ago by kylechar
Modified:
3 years, 9 months ago
Reviewers:
sadrul
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't exit SetBounds early for X11Window. If X11WindowBase::SetBounds() exits early when the bounds haven't changed this breaks changing the device scale factor. Use the same logic as WindowTreeHostX11. We check if anything has changed in origin/bounds before calling XConfigureNotify. WindowTreeHostPlatform does it's own checks afterwards to notify observers. BUG=664570 Review-Url: https://codereview.chromium.org/2725383002 Cr-Commit-Position: refs/heads/master@{#454960} Committed: https://chromium.googlesource.com/chromium/src/+/d0454d552d477db039a8e4b4ae923c87887c02dd

Patch Set 1 #

Patch Set 2 : Cleanup. #

Patch Set 3 : Add comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -9 lines) Patch
M ui/platform_window/x11/x11_window_base.cc View 1 2 2 chunks +20 lines, -9 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
kylechar
3 years, 9 months ago (2017-03-03 20:15:53 UTC) #2
sadrul
> ... this breaks changing the device scale factor. Can you clarify why? Does changing ...
3 years, 9 months ago (2017-03-04 02:38:39 UTC) #3
kylechar
On 2017/03/04 02:38:39, sadrul wrote: > > ... this breaks changing the device scale factor. ...
3 years, 9 months ago (2017-03-06 16:02:55 UTC) #4
sadrul
lgtm
3 years, 9 months ago (2017-03-06 20:24:49 UTC) #5
kylechar
Added a comment to explain. Thanks sadrul!
3 years, 9 months ago (2017-03-06 20:31:50 UTC) #6
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/2725383002/40001
3 years, 9 months ago (2017-03-06 21:04:00 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-03-06 21:26:05 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/d0454d552d477db039a8e4b4ae92...

Powered by Google App Engine
This is Rietveld 408576698