Fix exclusive zone among other layers

This commit is contained in:
Drew DeVault 2018-03-20 21:57:16 -04:00
parent 0f7e78f6aa
commit b73c4f48c1
2 changed files with 8 additions and 3 deletions

View file

@ -53,7 +53,7 @@ static void apply_exclusive(struct wlr_box *output_area,
};
for (size_t i = 0; i < sizeof(edges) / sizeof(edges[0]); ++i) {
if ((anchor & edges[i].anchors)) {
edges[i].value += exclusive * edges[i].multiplier;
*edges[i].value += exclusive * edges[i].multiplier;
}
}
}