rootston: Send frame_done for popups too

Thanks @emersion
This commit is contained in:
Guido Günther 2018-04-20 17:48:50 +02:00
parent 421652a450
commit 57cc4c319d
1 changed files with 4 additions and 0 deletions

View File

@ -379,6 +379,10 @@ static void layers_send_done(
wl_list_for_each(roots_surface, &output->layers[i], link) { wl_list_for_each(roots_surface, &output->layers[i], link) {
struct wlr_layer_surface *layer = roots_surface->layer_surface; struct wlr_layer_surface *layer = roots_surface->layer_surface;
wlr_surface_send_frame_done(layer->surface, when); 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);
}
} }
} }
} }