diff options
author | emersion <contact@emersion.fr> | 2017-12-06 16:54:08 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-12-06 16:54:08 +0100 |
commit | dac0233804c7a8a1ffe76c4c3f0644873a0267d0 (patch) | |
tree | 22ed135382450cbd9d124a0c08260b08e16d159b | |
parent | bf2b58eb6db5a59f08a3b0a3ab5e43e93711bf51 (diff) |
Send new output to clients when changing transform
-rw-r--r-- | types/wlr_output.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/types/wlr_output.c b/types/wlr_output.c index 163f2d8c..ed74004d 100644 --- a/types/wlr_output.c +++ b/types/wlr_output.c @@ -184,6 +184,12 @@ void wlr_output_transform(struct wlr_output *output, enum wl_output_transform transform) { output->impl->transform(output, transform); wlr_output_update_matrix(output); + + // TODO: only send geometry and done + struct wl_resource *resource; + wl_resource_for_each(resource, &output->wl_resources) { + wl_output_send_to_resource(resource); + } } void wlr_output_set_position(struct wlr_output *output, int32_t lx, |