WindowServer: Fix crash when moving mouse out of bounds

This commit is contained in:
2025-06-26 11:18:01 +03:00
parent bc06926702
commit 4fa40de557

View File

@@ -844,7 +844,8 @@ void WindowServer::invalidate(Rectangle area)
}
}
mark_pending_sync(cursor_area);
if (auto fb_overlap = cursor_area.get_overlap(m_framebuffer.area()); fb_overlap.has_value())
mark_pending_sync(fb_overlap.value());
}
return;