mirror of
https://github.com/swaywm/sway.git
synced 2025-11-25 06:59:48 -05:00
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:
parent
788b715776
commit
cf7c77e56a
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue