Commit 5a9773f8 authored by domlaskowski's avatar domlaskowski Committed by Commit Bot

exo: Revert workaround for multi-display ARC

The workaround to confine ARC windows to the primary display is no
longer needed now that ARC supports multiple displays.

BUG=718627
TEST=Extended desktop mode works for ARC and other clients.

Review-Url: https://codereview.chromium.org/2862173004
Cr-Commit-Position: refs/heads/master@{#476441}
parent bdcf8951
......@@ -1495,9 +1495,7 @@ void ShellSurface::UpdateWidgetBounds() {
const gfx::Rect widget_bounds = widget_->GetWindowBoundsInScreen();
if (widget_bounds != new_widget_bounds) {
if (bounds_mode_ != BoundsMode::CLIENT || !resizer_) {
// TODO(domlaskowski): Use screen coordinates once multi-display support
// lands in ARC. See crbug.com/718627.
widget_->GetNativeWindow()->SetBounds(new_widget_bounds);
widget_->SetBounds(new_widget_bounds);
UpdateSurfaceBounds();
} else {
// TODO(domlaskowski): Synchronize window state transitions with the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment