Skip to content

Commit

Permalink
Merge branch 'scenegraph3' of github:djpohly/dwl into scenegraph3
Browse files Browse the repository at this point in the history
  • Loading branch information
djpohly committed Feb 15, 2022
2 parents f4ae4c1 + 22a6f66 commit b860932
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dwl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,8 @@ rendermon(struct wl_listener *listener, void *data)
* generally at the output's refresh rate (e.g. 60Hz). */
Monitor *m = wl_container_of(listener, m, frame);
Client *c;
int skip = 0;
LayerSurface *layer;
int i, skip = 0;
struct timespec now;

/* Render if no XDG clients have an outstanding resize. */
Expand All @@ -1617,6 +1618,11 @@ rendermon(struct wl_listener *listener, void *data)
wl_list_for_each(c, &clients, link)
if (VISIBLEON(c, c->mon))
client_for_each_surface(c, rendered, &now);

for (i = 0; i < LENGTH(m->layers); i++)
wl_list_for_each(layer, &m->layers[i], link)
wlr_layer_surface_v1_for_each_surface(layer->layer_surface, rendered, &now);

}

void
Expand Down

0 comments on commit b860932

Please sign in to comment.