aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2018-04-20 17:48:50 +0200
committerGuido Günther <agx@sigxcpu.org>2018-04-23 11:24:31 +0200
commit57cc4c319d1d7002dc281e623c6716e619e21fdf (patch)
tree75eef7cab7af3057dd7783febd3e212f95982eab
parent421652a450eca9910aec0491760a0ce7ff69ee24 (diff)
rootston: Send frame_done for popups too
Thanks @emersion
-rw-r--r--rootston/output.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rootston/output.c b/rootston/output.c
index 48b20466..225b7213 100644
--- a/rootston/output.c
+++ b/rootston/output.c
@@ -379,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);
+ }
}
}
}