aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-05-08 16:18:30 +0100
committerGitHub <noreply@github.com>2018-05-08 16:18:30 +0100
commitc5c5747060312817c025eab5cdcec8508232dde1 (patch)
tree7ce9e04fe5dd48d9e40b0b516b84e5356b29ee7d /rootston
parent397ee7ff9db37d92c48541ff680ec896f335c06b (diff)
parent6436ce6300f11786538ea91e204af61a36a058f1 (diff)
Merge pull request #963 from emersion/rootston-output-outdated-comment
rootston: remove outdated comment
Diffstat (limited to 'rootston')
-rw-r--r--rootston/output.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/rootston/output.c b/rootston/output.c
index d4c6d5a2..e07cd935 100644
--- a/rootston/output.c
+++ b/rootston/output.c
@@ -174,9 +174,8 @@ static void scissor_output(struct roots_output *output, pixman_box32_t *rect) {
};
int ow, oh;
- wlr_output_transformed_resolution(output->wlr_output, &ow, &oh);
+ wlr_output_transformed_resolution(wlr_output, &ow, &oh);
- // Scissor is in renderer coordinates, ie. upside down
enum wl_output_transform transform =
wlr_output_transform_invert(wlr_output->transform);
wlr_box_transform(&box, transform, ow, oh, &box);