send frame done even if output commit fails
Bug: https://github.com/djpohly/dwl/issues/420 Fixes: https://github.com/djpohly/dwl/issues/353
This commit is contained in:
parent
f8884ffc2b
commit
3d98907b98
1 changed files with 2 additions and 2 deletions
4
dwl.c
4
dwl.c
|
@ -1895,8 +1895,8 @@ rendermon(struct wl_listener *listener, void *data)
|
||||||
wl_list_for_each(c, &clients, link)
|
wl_list_for_each(c, &clients, link)
|
||||||
if (c->resize && !c->isfloating && client_is_rendered_on_mon(c, m) && !client_is_stopped(c))
|
if (c->resize && !c->isfloating && client_is_rendered_on_mon(c, m) && !client_is_stopped(c))
|
||||||
goto skip;
|
goto skip;
|
||||||
if (!wlr_scene_output_commit(m->scene_output))
|
wlr_scene_output_commit(m->scene_output);
|
||||||
return;
|
|
||||||
skip:
|
skip:
|
||||||
/* Let clients know a frame has been rendered */
|
/* Let clients know a frame has been rendered */
|
||||||
clock_gettime(CLOCK_MONOTONIC, &now);
|
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||||
|
|
Loading…
Reference in a new issue