From c484b94767a24f1d244e9abe106e9d629ee4f35b 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 (cherry picked from commit 3bd8f29b138e2832870ad05a9386002fcc79e0fc) --- 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 54c09bbfe..e06fd31f8 100644 --- a/types/scene/wlr_scene.c +++ b/types/scene/wlr_scene.c @@ -476,11 +476,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}; - } - uint64_t old_active = scene_buffer->active_outputs; scene_buffer->active_outputs = active_outputs;