scene: don't send new dmabuf feedback after node disable

The comparison done in `scene_buffer_send_dmabuf_feedback()` is
sufficient.

Close https://gitlab.freedesktop.org/wlroots/wlroots/-/work_items/4088
This commit is contained in:
Félix Poisot 2026-05-22 20:13:24 +00:00 committed by Isaac Freund
parent c6e2af1155
commit 3bd8f29b13

View file

@ -463,11 +463,6 @@ static void update_node_update_outputs(struct wlr_scene_node *node,
}
}
if (old_primary_output != scene_buffer->primary_output) {
scene_buffer->prev_feedback_options =
(struct wlr_linux_dmabuf_feedback_v1_init_options){0};
}
// if there are active outputs on this node, we should always have a primary
// output
assert(!active_outputs || scene_buffer->primary_output);