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:
parent
f56ee10a13
commit
6bb1825366
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue