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.
This commit is contained in:
Simon Ser 2019-04-27 12:32:40 +03:00 committed by Drew DeVault
parent bde5a1f4ea
commit d7ef3a1f38
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,8 @@ static void output_update(struct wlr_xdg_output_v1 *xdg_output) {
wl_resource_for_each(resource, &xdg_output->resources) { wl_resource_for_each(resource, &xdg_output->resources) {
output_send_details(xdg_output, resource); output_send_details(xdg_output, resource);
} }
wlr_output_schedule_done(xdg_output->layout_output->output);
} }
} }