diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2023-12-06 14:28:59 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-18 18:36:54 +0300 |
commit | b38ed8b4792928dca3e1580e8160792ea41e25c4 (patch) | |
tree | b080710c7a3f37de868ff4d5d96e6971f7105675 /sway/desktop/output.c | |
parent | transaction: ready signals will return success bools (diff) | |
download | sway-b38ed8b4792928dca3e1580e8160792ea41e25c4.tar.gz sway-b38ed8b4792928dca3e1580e8160792ea41e25c4.tar.zst sway-b38ed8b4792928dca3e1580e8160792ea41e25c4.zip |
scene_graph: Port xdg_shell
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 942bc780..a5184484 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -289,8 +289,14 @@ static void send_frame_done_iterator(struct wlr_scene_buffer *buffer, | |||
289 | } | 289 | } |
290 | 290 | ||
291 | struct wlr_scene_node *current = &buffer->node; | 291 | struct wlr_scene_node *current = &buffer->node; |
292 | |||
293 | while (true) { | 292 | while (true) { |
293 | struct sway_view *view = scene_descriptor_try_get(current, | ||
294 | SWAY_SCENE_DESC_VIEW); | ||
295 | if (view) { | ||
296 | view_max_render_time = view->max_render_time; | ||
297 | break; | ||
298 | } | ||
299 | |||
294 | if (!current->parent) { | 300 | if (!current->parent) { |
295 | break; | 301 | break; |
296 | } | 302 | } |