libweston: Fix broken paint node list walk

Outputs store nodes on the output_link.

Fixes !1118

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2023-02-06 08:23:41 -06:00
parent 9d24fb96fb
commit 8571b844af

View File

@ -138,7 +138,7 @@ weston_output_dirty_paint_nodes(struct weston_output *output)
{
struct weston_paint_node *node;
wl_list_for_each(node, &output->paint_node_list, view_link) {
wl_list_for_each(node, &output->paint_node_list, output_link) {
assert(node->output == output);
node->status |= PAINT_NODE_OUTPUT_DIRTY;