Adwaita: Hide SSD box-shadow border on maximized windows
The 1px shadow was showing up on adjacent monitors when a SSD window was maximized. Additionally this was causing mutter to skip direct scanout of these windows, because they extend beyond the screen. Related: https://gitlab.gnome.org/GNOME/mutter/-/issues/2304
This commit is contained in:
parent
04fe1c8e4e
commit
4873f63c07
@ -4601,6 +4601,8 @@ decoration {
|
||||
// just doing borders, wm draws actual shadows
|
||||
.ssd & { box-shadow: 0 0 0 1px $_wm_border; }
|
||||
.ssd &:backdrop { box-shadow: 0 0 0 1px $_wm_border_backdrop; }
|
||||
.ssd.maximized &,
|
||||
.ssd.maximized &:backdrop { box-shadow: none; }
|
||||
|
||||
.csd.popup & {
|
||||
border-radius: $menu_radius;
|
||||
|
Loading…
Reference in New Issue
Block a user