Skip to content

Commit

Permalink
send frame done even if output commit fails
Browse files Browse the repository at this point in the history
  • Loading branch information
sevz17 committed Jun 3, 2023
1 parent f8884ff commit 3d98907
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dwl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1895,8 +1895,8 @@ rendermon(struct wl_listener *listener, void *data)
wl_list_for_each(c, &clients, link)
if (c->resize && !c->isfloating && client_is_rendered_on_mon(c, m) && !client_is_stopped(c))
goto skip;
if (!wlr_scene_output_commit(m->scene_output))
return;
wlr_scene_output_commit(m->scene_output);

skip:
/* Let clients know a frame has been rendered */
clock_gettime(CLOCK_MONOTONIC, &now);
Expand Down

0 comments on commit 3d98907

Please sign in to comment.