diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-23 13:00:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-23 13:00:57 +0200 |
commit | e2ed7be0baa6fe17d6a4a73c68ac1e8b6dea96f9 (patch) | |
tree | 101646e1bb387610b1e29f24427ea4bd01fd546f /rootston/output.c | |
parent | da944cccb3b118f01a5e8a5406c328ddb75822d7 (diff) | |
parent | 32e043f996d00428731e9d97f8e45180574681b1 (diff) |
Merge pull request #877 from agx/layer-popups
Layer popups: work on top of PR 867
Diffstat (limited to 'rootston/output.c')
-rw-r--r-- | rootston/output.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rootston/output.c b/rootston/output.c index 791b2819..225b7213 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -366,6 +366,8 @@ static void render_layer(struct roots_output *output, roots_surface->geo.x + output_layout_box->x, roots_surface->geo.y + output_layout_box->y, 0, &data->layout, render_surface, data); + + wlr_layer_surface_for_each_surface(layer, render_surface, data); } } @@ -377,6 +379,10 @@ static void layers_send_done( wl_list_for_each(roots_surface, &output->layers[i], link) { struct wlr_layer_surface *layer = roots_surface->layer_surface; wlr_surface_send_frame_done(layer->surface, when); + struct wlr_xdg_popup *popup; + wl_list_for_each(popup, &roots_surface->layer_surface->popups, link) { + wlr_surface_send_frame_done(popup->base->surface, when); + } } } } |