• Sammie Quon's avatar
    overview: Fix bug with rounded corners persisting after overview. · e2215577
    Sammie Quon authored
    Minimized and non minimized windows have their rounded corners applied
    in overview differently, minimized on the mirror view layer, and normal
    windows on the actual window layer. Due to the setup of the current
    logic, minimized windows do not reset the windows layer rounded corners
    on exit.
    
    This was problematic if the window was not minimized when entering, and
    then minimized at exit which is a common workflow in tablet mode.
    
    Bug: 1146240
    Test: added tests
    Change-Id: I9b3f9c465bb1bdfc5bf1acbe727ea9743472edcb
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2542605Reviewed-by: default avatarXiaoqian Dai <xdai@chromium.org>
    Commit-Queue: Sammie Quon <sammiequon@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#828045}
    e2215577
scoped_overview_transform_window.cc 21.4 KB