Update rotation matrix correctly. Fixes #60.

This commit is contained in:
Scott Anderson 2017-08-11 09:29:28 +12:00
parent ea63f9e53f
commit 5465621d0a
1 changed files with 1 additions and 1 deletions

View File

@ -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, void wlr_output_transform(struct wlr_output *output,
enum wl_output_transform transform) { enum wl_output_transform transform) {
wlr_output_update_matrix(output);
output->impl->transform(output->state, transform); output->impl->transform(output->state, transform);
wlr_output_update_matrix(output);
} }
bool wlr_output_set_cursor(struct wlr_output *output, bool wlr_output_set_cursor(struct wlr_output *output,