From 5465621d0a1892275ae05a69481eda1140c4461f Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Fri, 11 Aug 2017 09:29:28 +1200 Subject: Update rotation matrix correctly. Fixes #60. --- types/wlr_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/wlr_output.c b/types/wlr_output.c index 63727394..eff4d0ef 100644 --- a/types/wlr_output.c +++ b/types/wlr_output.c @@ -121,8 +121,8 @@ bool wlr_output_set_mode(struct wlr_output *output, struct wlr_output_mode *mode void wlr_output_transform(struct wlr_output *output, enum wl_output_transform transform) { - wlr_output_update_matrix(output); output->impl->transform(output->state, transform); + wlr_output_update_matrix(output); } bool wlr_output_set_cursor(struct wlr_output *output, -- cgit v1.2.3