Fix wlr_box_intersection args for wlroots 1441

The fix pushed to master missed wlr_box_intersection. This just fixes
those lines so sway renders properly again
This commit is contained in:
Brian Ashworth 2018-12-22 11:59:41 -05:00 committed by emersion
parent 788b715776
commit cf7c77e56a
3 changed files with 3 additions and 3 deletions

View file

@ -261,7 +261,7 @@ static void render_saved_view(struct sway_view *view,
};
struct wlr_box intersection;
bool intersects = wlr_box_intersection(&output_box, &box, &intersection);
bool intersects = wlr_box_intersection(&intersection, &output_box, &box);
if (!intersects) {
return;
}