Commit 54b0eaa0 authored by tzik's avatar tzik Committed by Commit bot

[Aura] Fix window resize handling on fullscreen event

Skip resize handling on fullscreen event.

BUG=408409
R=erg@chromium.org

Review URL: https://codereview.chromium.org/542533002

Cr-Commit-Position: refs/heads/master@{#293615}
parent 829e2bf7
......@@ -705,6 +705,8 @@ void DesktopWindowTreeHostX11::SetFullscreen(bool fullscreen) {
if (is_fullscreen_ == fullscreen)
return;
is_fullscreen_ = fullscreen;
if (is_fullscreen_)
delayed_resize_task_.Cancel();
// Work around a bug where if we try to unfullscreen, metacity immediately
// fullscreens us again. This is a little flickery and not necessary if
......
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