Skip to content

st/theme-node-drawing: Conditionally paint the center shadow rectangle

Only when part of it is actually visible.

Because the central rectangle is generally the largest part, this eliminates most of the shadow's render time. For example, animating .workspace-background by tapping Super, the shell's overall render time is reduced about 15%.

Edited by Daniel van Vugt

Merge request reports