mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-25 06:47:18 -04:00
do not render frames when any surface has uncommitted changes
This commit is contained in:
parent
01e8b802b1
commit
0a2a2bd22c
1 changed files with 4 additions and 3 deletions
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) */
|
||||
wlr_renderer_begin(drw, m->wlr_output->width, m->wlr_output->height);
|
||||
|
||||
if (render) {
|
||||
if (render)
|
||||
{
|
||||
wlr_renderer_clear(drw, rootcolor);
|
||||
|
||||
renderclients(m, &now);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue