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

Issue 10981024: Clear root window when the aura root window is moved/resized (Closed)

Created:
8 years, 2 months ago by oshima
Modified:
8 years, 2 months ago
Reviewers:
Daniel Erat, sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org, marcheu
Visibility:
Public.

Description

Clear root window when the aura root window is moved/resized Without this, switching display may leave some content on other display. BUG=152003 TEST=manual: Switch to external/internal monitor doesn't leave the content. Manually killed chrome (with /var/run/disable_chrome_restart) and confirmed that the content wasn't cleared. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158757 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=158771

Patch Set 1 #

Total comments: 4

Patch Set 2 : use xfillrectangle instead #

Patch Set 3 : guard with OS_CHROMEOS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M ui/aura/root_window_host_linux.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
oshima
8 years, 2 months ago (2012-09-25 18:26:42 UTC) #1
oshima
8 years, 2 months ago (2012-09-25 18:27:51 UTC) #2
Daniel Erat
http://codereview.chromium.org/10981024/diff/1/ui/aura/root_window_host_linux.cc File ui/aura/root_window_host_linux.cc (right): http://codereview.chromium.org/10981024/diff/1/ui/aura/root_window_host_linux.cc#newcode523 ui/aura/root_window_host_linux.cc:523: XSetWindowBackgroundPixmap(xdisplay_, x_root_window_, None); it's not obvious to me why ...
8 years, 2 months ago (2012-09-25 19:10:57 UTC) #3
oshima
http://codereview.chromium.org/10981024/diff/1/ui/aura/root_window_host_linux.cc File ui/aura/root_window_host_linux.cc (right): http://codereview.chromium.org/10981024/diff/1/ui/aura/root_window_host_linux.cc#newcode523 ui/aura/root_window_host_linux.cc:523: XSetWindowBackgroundPixmap(xdisplay_, x_root_window_, None); On 2012/09/25 19:10:57, Daniel Erat wrote: ...
8 years, 2 months ago (2012-09-25 19:33:28 UTC) #4
Daniel Erat
http://codereview.chromium.org/10981024/diff/1/ui/aura/root_window_host_linux.cc File ui/aura/root_window_host_linux.cc (right): http://codereview.chromium.org/10981024/diff/1/ui/aura/root_window_host_linux.cc#newcode523 ui/aura/root_window_host_linux.cc:523: XSetWindowBackgroundPixmap(xdisplay_, x_root_window_, None); On 2012/09/25 19:33:28, oshima wrote: > ...
8 years, 2 months ago (2012-09-25 19:54:41 UTC) #5
oshima
http://codereview.chromium.org/10981024/diff/1/ui/aura/root_window_host_linux.cc File ui/aura/root_window_host_linux.cc (right): http://codereview.chromium.org/10981024/diff/1/ui/aura/root_window_host_linux.cc#newcode523 ui/aura/root_window_host_linux.cc:523: XSetWindowBackgroundPixmap(xdisplay_, x_root_window_, None); On 2012/09/25 19:54:41, Daniel Erat wrote: ...
8 years, 2 months ago (2012-09-25 20:45:09 UTC) #6
Daniel Erat
lgtm
8 years, 2 months ago (2012-09-25 20:50:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/10981024/7001
8 years, 2 months ago (2012-09-25 21:05:08 UTC) #8
commit-bot: I haz the power
Presubmit check for 10981024-7001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 2 months ago (2012-09-25 21:05:10 UTC) #9
oshima
+sky for OWNERS
8 years, 2 months ago (2012-09-25 21:21:14 UTC) #10
sky
LGTM
8 years, 2 months ago (2012-09-25 22:21:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/10981024/7001
8 years, 2 months ago (2012-09-26 03:02:30 UTC) #12
commit-bot: I haz the power
8 years, 2 months ago (2012-09-26 06:20:27 UTC) #13
Change committed as 158757

Powered by Google App Engine
This is Rietveld 408576698