From 57cc4c319d1d7002dc281e623c6716e619e21fdf Mon Sep 17 00:00:00 2001
From: Guido Günther <agx@sigxcpu.org>
Date: Fri, 20 Apr 2018 17:48:50 +0200
Subject: rootston: Send frame_done for popups too

Thanks @emersion
---
 rootston/output.c | 4 ++++
 1 file changed, 4 insertions(+)

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);
+			}
 		}
 	}
 }
-- 
cgit v1.2.3