diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-07-21 22:23:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-21 22:23:14 -0400 |
commit | 789870e60e7c94a84203ee70de325ad8b0a4174d (patch) | |
tree | e9f2977e203c5c0e86233a8b83c9e519737d0770 | |
parent | Merge pull request #778 from thejan2009/hide_edge_borders-fix (diff) | |
parent | fix regression in hide_edge_borders (diff) | |
download | sway-789870e60e7c94a84203ee70de325ad8b0a4174d.tar.gz sway-789870e60e7c94a84203ee70de325ad8b0a4174d.tar.zst sway-789870e60e7c94a84203ee70de325ad8b0a4174d.zip |
Merge pull request #780 from zandrmartin/fix-edge-gap
fix regression in hide_edge_borders
-rw-r--r-- | sway/layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/layout.c b/sway/layout.c index 3285560b..2139b78e 100644 --- a/sway/layout.c +++ b/sway/layout.c | |||
@@ -576,7 +576,7 @@ void update_geometry(swayc_t *container) { | |||
576 | border_left = 0; | 576 | border_left = 0; |
577 | } | 577 | } |
578 | 578 | ||
579 | if (geometry.origin.x + geometry.size.w == workspace->width) { | 579 | if (geometry.size.w == workspace->width) { |
580 | border_right = 0; | 580 | border_right = 0; |
581 | } | 581 | } |
582 | } | 582 | } |
@@ -586,7 +586,7 @@ void update_geometry(swayc_t *container) { | |||
586 | border_top = 0; | 586 | border_top = 0; |
587 | } | 587 | } |
588 | 588 | ||
589 | if (geometry.origin.y + geometry.size.h == workspace->height) { | 589 | if (geometry.size.h == workspace->height) { |
590 | border_bottom = 0; | 590 | border_bottom = 0; |
591 | } | 591 | } |
592 | } | 592 | } |