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:
@ -4601,6 +4601,8 @@ decoration {
|
|||||||
// just doing borders, wm draws actual shadows
|
// just doing borders, wm draws actual shadows
|
||||||
.ssd & { box-shadow: 0 0 0 1px $_wm_border; }
|
.ssd & { box-shadow: 0 0 0 1px $_wm_border; }
|
||||||
.ssd &:backdrop { box-shadow: 0 0 0 1px $_wm_border_backdrop; }
|
.ssd &:backdrop { box-shadow: 0 0 0 1px $_wm_border_backdrop; }
|
||||||
|
.ssd.maximized &,
|
||||||
|
.ssd.maximized &:backdrop { box-shadow: none; }
|
||||||
|
|
||||||
.csd.popup & {
|
.csd.popup & {
|
||||||
border-radius: $menu_radius;
|
border-radius: $menu_radius;
|
||||||
|
|||||||
Reference in New Issue
Block a user