diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-12-22 11:59:41 -0500 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-12-22 18:54:08 +0100 |
commit | cf7c77e56ab895efd3b113debd53fc5881dd7205 (patch) | |
tree | 562a496197417bc093e560303d8b30c30eb91452 /sway/tree | |
parent | Fixes per wlroots#1441 (diff) | |
download | sway-cf7c77e56ab895efd3b113debd53fc5881dd7205.tar.gz sway-cf7c77e56ab895efd3b113debd53fc5881dd7205.tar.zst sway-cf7c77e56ab895efd3b113debd53fc5881dd7205.zip |
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
Diffstat (limited to 'sway/tree')
-rw-r--r-- | sway/tree/container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index b106e0d9..0a96088e 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -979,7 +979,7 @@ void container_discover_outputs(struct sway_container *con) { | |||
979 | output_get_box(output, &output_box); | 979 | output_get_box(output, &output_box); |
980 | struct wlr_box intersection; | 980 | struct wlr_box intersection; |
981 | bool intersects = | 981 | bool intersects = |
982 | wlr_box_intersection(&con_box, &output_box, &intersection); | 982 | wlr_box_intersection(&intersection, &con_box, &output_box); |
983 | int index = list_find(con->outputs, output); | 983 | int index = list_find(con->outputs, output); |
984 | 984 | ||
985 | if (intersects && index == -1) { | 985 | if (intersects && index == -1) { |