From e69c3d7336cb9789582f2faab117d9cfa03e9cc8 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Wed, 26 Aug 2020 19:16:13 +0200 Subject: remove extra space --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index c59196d..844cd26 100644 --- a/dwl.c +++ b/dwl.c @@ -407,7 +407,7 @@ applyexclusive(struct wlr_box *usable_area, edges[3].margin = margin_right; for (size_t i = 0; i < LENGTH(edges); ++i) { - if ((anchor == edges[i].singular_anchor || anchor == edges[i].anchor_triplet) + if ((anchor == edges[i].singular_anchor || anchor == edges[i].anchor_triplet) && exclusive + edges[i].margin > 0) { if (edges[i].positive_axis) *edges[i].positive_axis += exclusive + edges[i].margin; -- cgit v1.2.3