diff --git a/src/compositor.c b/src/compositor.c index 54b1f565..293e6790 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -2789,7 +2789,7 @@ bind_output(struct wl_client *client, output->mm_height, output->subpixel, output->make, output->model, - WL_OUTPUT_TRANSFORM_NORMAL); + output->transform); wl_list_for_each (mode, &output->mode_list, link) { wl_output_send_mode(resource, @@ -3029,6 +3029,7 @@ weston_output_init(struct weston_output *output, struct weston_compositor *c, output->mm_width = width; output->mm_height = height; output->dirty = 1; + output->transform = WL_OUTPUT_TRANSFORM_NORMAL; weston_output_init_zoom(output); diff --git a/src/compositor.h b/src/compositor.h index b3c554bc..ccac91e0 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -168,6 +168,7 @@ struct weston_output { char *make, *model; uint32_t subpixel; + uint32_t transform; struct weston_mode *current; struct weston_mode *origin;