diff options
author | Simon Ser <contact@emersion.fr> | 2019-04-27 12:32:40 +0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-04-27 10:02:21 -0600 |
commit | d7ef3a1f38a87304222040e56b616620f6c87366 (patch) | |
tree | b97786a0150f93cd95532179d5a0cc66eb439fef | |
parent | bde5a1f4ea1fb0e966afd4b1a8aa59a8a71e4ea9 (diff) | |
download | wlroots-d7ef3a1f38a87304222040e56b616620f6c87366.tar.xz |
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.
-rw-r--r-- | types/wlr_xdg_output_v1.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } } |