From cf7c77e56ab895efd3b113debd53fc5881dd7205 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Sat, 22 Dec 2018 11:59:41 -0500 Subject: 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 --- sway/desktop/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/desktop/output.c') diff --git a/sway/desktop/output.c b/sway/desktop/output.c index ed504bdf..79ad7faa 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -108,7 +108,7 @@ static bool get_surface_box(struct surface_iterator_data *data, }; struct wlr_box intersection; - return wlr_box_intersection(&output_box, &rotated_box, &intersection); + return wlr_box_intersection(&intersection, &output_box, &rotated_box); } static void output_for_each_surface_iterator(struct wlr_surface *surface, -- cgit v1.2.3