Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
send frame done even if output commit fails
Browse files Browse the repository at this point in the history
Fixes: #420
  • Loading branch information
sevz17 committed May 26, 2023
1 parent 0729f18 commit 9ef2e28
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dwl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1889,8 +1889,9 @@ 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 9ef2e28

Please sign in to comment.