From 3bd8f29b138e2832870ad05a9386002fcc79e0fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Poisot?= Date: Fri, 22 May 2026 20:13:24 +0000 Subject: [PATCH] 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 --- types/scene/wlr_scene.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/types/scene/wlr_scene.c b/types/scene/wlr_scene.c index 7231422e8..7e4a81004 100644 --- a/types/scene/wlr_scene.c +++ b/types/scene/wlr_scene.c @@ -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);