diff options
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
108 | }; | 108 | }; |
109 | 109 | ||
110 | struct wlr_box intersection; | 110 | struct wlr_box intersection; |
111 | return wlr_box_intersection(&output_box, &rotated_box, &intersection); | 111 | return wlr_box_intersection(&intersection, &output_box, &rotated_box); |
112 | } | 112 | } |
113 | 113 | ||
114 | static void output_for_each_surface_iterator(struct wlr_surface *surface, | 114 | static void output_for_each_surface_iterator(struct wlr_surface *surface, |