Send new output to clients when changing transform

master
emersion 7 years ago
parent bf2b58eb6d
commit dac0233804
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

@ -184,6 +184,12 @@ void wlr_output_transform(struct wlr_output *output,
enum wl_output_transform transform) { enum wl_output_transform transform) {
output->impl->transform(output, transform); output->impl->transform(output, transform);
wlr_output_update_matrix(output); 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, void wlr_output_set_position(struct wlr_output *output, int32_t lx,

Loading…
Cancel
Save