aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVersus Void <chaoskeeper@mail.ru>2019-09-17 13:26:30 +0300
committerSimon Ser <contact@emersion.fr>2019-09-17 15:30:20 +0300
commit2ecfc46b93534232f49422d439e1a62d505da83f (patch)
tree8789b2987bbc831d886bfb415496d9fe9cdaa969
parent06644575da9060a917849d177c418ed39e432467 (diff)
xdg-output: send wl_output.done after xdg_output created
xdg-output version 3 requires to send wl_output.done "after all xdg_output properties have been sent when the object is created"
-rw-r--r--types/wlr_xdg_output_v1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/types/wlr_xdg_output_v1.c b/types/wlr_xdg_output_v1.c
index 62cc7a7c..8c481d2a 100644
--- a/types/wlr_xdg_output_v1.c
+++ b/types/wlr_xdg_output_v1.c
@@ -132,6 +132,8 @@ static void output_manager_handle_get_xdg_output(struct wl_client *client,
}
output_send_details(xdg_output, xdg_output_resource);
+
+ wl_output_send_done(output_resource);
}
static const struct zxdg_output_manager_v1_interface