adwaita: disable shadows when window is maximized or fullscreen
These shadows cause a significant draw performance drop for maximized windows. Disabling them increases the chances we can have faster scroll performance of text. There is some risk here for systems where they have a dock and you expect the shadow to draw beneath that dock for transparency reasons.
This commit is contained in:
@@ -4100,6 +4100,9 @@ window {
|
||||
|
||||
&:backdrop { box-shadow: inset 0 0 0 3px $backdrop_bg_color, inset 0 1px $top_hilight; }
|
||||
}
|
||||
|
||||
&.maximized,
|
||||
&.fullscreen { box-shadow: none; }
|
||||
}
|
||||
|
||||
&.maximized,
|
||||
|
||||
Reference in New Issue
Block a user