mirror of
https://github.com/swaywm/sway.git
synced 2025-11-28 07:00:00 -05:00
scene_graph: Port xdg_shell
This commit is contained in:
parent
08c484f46f
commit
b38ed8b479
6 changed files with 81 additions and 372 deletions
|
|
@ -289,8 +289,14 @@ static void send_frame_done_iterator(struct wlr_scene_buffer *buffer,
|
|||
}
|
||||
|
||||
struct wlr_scene_node *current = &buffer->node;
|
||||
|
||||
while (true) {
|
||||
struct sway_view *view = scene_descriptor_try_get(current,
|
||||
SWAY_SCENE_DESC_VIEW);
|
||||
if (view) {
|
||||
view_max_render_time = view->max_render_time;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!current->parent) {
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue