elementary / gala

Gala Window Manager for elementary OS and Pantheon
https://elementary.io
GNU General Public License v3.0
272 stars 77 forks source link

Draw black corners behind Maximized or Tiled windows #973

Open cassidyjames opened 3 years ago

cassidyjames commented 3 years ago

Problem

Rounded LibHandy windows look good now when tiled because we're drawing black corners in the Stylesheet, but when going into the overview or any sort of window animation, you end up seeing these corners.

Tiled Overview
Screenshot from 2020-11-23 13-25-51 Screenshot from 2020-11-23 13 27 03

Proposal

We should draw these black corners in Gala, not the Stylesheet, so we can only show them in the normal state and not in Multitasking View or any window animations.

danirabbit commented 3 years ago

This is case for all windows that are maximized or tiled

cassidyjames commented 3 years ago

Ah yeah, I guess we square off "inside" corners of regular windows when tiled, but the outside corners are still rounded and should get the black masking when not in the overview/animations.