commit f16cb1464f1227dabdfde71cfbef7d42cd2a6166 parent 789870e60e7c94a84203ee70de325ad8b0a4174d Author: D.B <thejan.2009@gmail.com> Date: Fri, 22 Jul 2016 06:00:27 +0200 properly hide bottom and right borders Diffstat:
| M | sway/layout.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sway/layout.c b/sway/layout.c @@ -576,7 +576,7 @@ void update_geometry(swayc_t *container) { border_left = 0; } - if (geometry.size.w == workspace->width) { + if (geometry.origin.x + geometry.size.w == workspace->x + workspace->width) { border_right = 0; } } @@ -586,7 +586,7 @@ void update_geometry(swayc_t *container) { border_top = 0; } - if (geometry.size.h == workspace->height) { + if (geometry.origin.y + geometry.size.h == workspace->y + workspace->height) { border_bottom = 0; } }