mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 22:52:10 +02:00
LibGUI widgets fully contain their child widgets, so there's no pass the paint event on to our children if we get a paint event that doesn't intersect with our rect. While Gfx::Painter was already dutifully clipping out any attempts at painting, this avoids even more pointless work.