mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-13 14:32:57 -04: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
(cherry picked from commit 3bd8f29b13)
This commit is contained in:
parent
9843c7ffaa
commit
c484b94767
1 changed files with 0 additions and 5 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue