1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:27:35 +00:00

WindowServer: Recompute occlusions when removing an overlay

This makes sure we don't needlessly render areas with transparency
that used to be occupied by an overlay.
This commit is contained in:
Tom 2021-07-16 19:05:01 -06:00 committed by Andreas Kling
parent f56ee10a13
commit 6bb1825366

View file

@ -904,6 +904,7 @@ void Compositor::remove_overlay(Overlay& overlay)
if (!current_render_rect.is_empty())
invalidate_screen(current_render_rect);
m_overlay_list.remove(overlay);
overlay_rects_changed();
}
void Compositor::ScreenData::draw_cursor(Screen& screen, const Gfx::IntRect& cursor_rect)