mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
WindowServer: Always clip window updates to the window's outer rect.
This commit is contained in:
@@ -875,6 +875,8 @@ void WSWindowManager::compose()
|
||||
return;
|
||||
if (!any_dirty_rect_intersects_window(window))
|
||||
return;
|
||||
PainterStateSaver saver(*m_back_painter);
|
||||
m_back_painter->set_clip_rect(outer_window_rect(window));
|
||||
for (auto& dirty_rect : dirty_rects.rects()) {
|
||||
PainterStateSaver saver(*m_back_painter);
|
||||
m_back_painter->set_clip_rect(dirty_rect);
|
||||
|
||||
Reference in New Issue
Block a user