diff options
| author | Guido Cella <guidocella91@gmail.com> | |
|---|---|---|
| 2020-08-26 19:16:13 +0200 | ||
| committer | Guido Cella <guidocella91@gmail.com> | |
| 2020-08-26 19:16:13 +0200 | ||
| commit | e69c3d7336cb9789582f2faab117d9cfa03e9cc8 (patch) | |
| tree | e27f6a957fd86bd6e5888e9f0d16e25816019fee | |
| parent | b35182f5192b14f0b7869d3783db728919cc527a (diff) | |
| download | dwl-e69c3d7336cb9789582f2faab117d9cfa03e9cc8.tar.gz dwl-e69c3d7336cb9789582f2faab117d9cfa03e9cc8.tar.bz2 dwl-e69c3d7336cb9789582f2faab117d9cfa03e9cc8.zip | |
remove extra space
@@ -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; |