diff options
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/output.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rootston/output.c b/rootston/output.c index 6babca24..75bbd928 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -177,9 +177,8 @@ static void scissor_output(struct roots_output *output, pixman_box32_t *rect) { wlr_output_transformed_resolution(output->wlr_output, &ow, &oh); // Scissor is in renderer coordinates, ie. upside down - enum wl_output_transform transform = wlr_output_transform_compose( - wlr_output_transform_invert(wlr_output->transform), - WL_OUTPUT_TRANSFORM_FLIPPED_180); + enum wl_output_transform transform = + wlr_output_transform_invert(wlr_output->transform); wlr_box_transform(&box, transform, ow, oh, &box); wlr_renderer_scissor(renderer, &box); |