mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-27 18:24:16 +00:00
do not render frames when any surface has uncommitted changes
This commit is contained in:
parent
01e8b802b1
commit
0a2a2bd22c
3
dwl.c
3
dwl.c
@ -1259,7 +1259,8 @@ rendermon(struct wl_listener *listener, void *data)
|
|||||||
/* Begin the renderer (calls glViewport and some other GL sanity checks) */
|
/* Begin the renderer (calls glViewport and some other GL sanity checks) */
|
||||||
wlr_renderer_begin(drw, m->wlr_output->width, m->wlr_output->height);
|
wlr_renderer_begin(drw, m->wlr_output->width, m->wlr_output->height);
|
||||||
|
|
||||||
if (render) {
|
if (render)
|
||||||
|
{
|
||||||
wlr_renderer_clear(drw, rootcolor);
|
wlr_renderer_clear(drw, rootcolor);
|
||||||
|
|
||||||
renderclients(m, &now);
|
renderclients(m, &now);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user