From d7ef3a1f38a87304222040e56b616620f6c87366 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 27 Apr 2019 12:32:40 +0300 Subject: [PATCH] xdg-output: schedule a wl_output.done event on update Xwayland expects an xdg_output.done event to always be sent with a wl_output.done event. --- types/wlr_xdg_output_v1.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/wlr_xdg_output_v1.c b/types/wlr_xdg_output_v1.c index ff5de75b..80c58a0c 100644 --- a/types/wlr_xdg_output_v1.c +++ b/types/wlr_xdg_output_v1.c @@ -55,6 +55,8 @@ static void output_update(struct wlr_xdg_output_v1 *xdg_output) { wl_resource_for_each(resource, &xdg_output->resources) { output_send_details(xdg_output, resource); } + + wlr_output_schedule_done(xdg_output->layout_output->output); } }