Don't use wlr_output properties

These properties are before rotation.
This commit is contained in:
Ryan Dwyer 2018-08-30 21:20:31 +10:00
parent 7586f150c0
commit acc2628c79
10 changed files with 47 additions and 39 deletions

View file

@ -238,8 +238,8 @@ static void render_saved_view(struct sway_view *view,
};
struct wlr_box output_box = {
.width = output->wlr_output->width,
.height = output->wlr_output->height,
.width = output->width,
.height = output->height,
};
struct wlr_box intersection;