diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-05-25 22:19:29 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-06-02 21:51:47 -0600 |
commit | 3d98907b98e2ff978cc30614b739f1f4b8f7f8c7 (patch) | |
tree | 078969fee55b985a5bd648732a84552423a65e1f | |
parent | f8884ffc2b7a4c0401f0a6710b679cd18b6b097d (diff) |
send frame done even if output commit fails
Bug: https://github.com/djpohly/dwl/issues/420
Fixes: https://github.com/djpohly/dwl/issues/353
-rw-r--r-- | dwl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |