mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-05-23 20:58:16 +02:00
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:
parent
c6e2af1155
commit
3bd8f29b13
1 changed files with 0 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue