send frame done even if output commit fails

Bug: https://github.com/djpohly/dwl/issues/420
Fixes: https://github.com/djpohly/dwl/issues/353
このコミットが含まれているのは:
Leonardo Hernández Hernández 2023-05-25 22:19:29 -06:00
コミット 3d98907b98
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: E538897EE11B9624
1個のファイルの変更2行の追加2行の削除

4
dwl.c
ファイルの表示

@ -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);