aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-07-21 22:23:14 -0400
committerGitHub <noreply@github.com>2016-07-21 22:23:14 -0400
commit789870e60e7c94a84203ee70de325ad8b0a4174d (patch)
treee9f2977e203c5c0e86233a8b83c9e519737d0770
parent9fe1d3da381296966e01d922ce6e54d0e55e7c00 (diff)
parent3137615838c20e18b98783d8fd23a7036b3473cd (diff)
downloadsway-789870e60e7c94a84203ee70de325ad8b0a4174d.tar.xz
Merge pull request #780 from zandrmartin/fix-edge-gap
fix regression in hide_edge_borders
-rw-r--r--sway/layout.c4
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) {
border_left = 0;
}
- if (geometry.origin.x + geometry.size.w == workspace->width) {
+ if (geometry.size.w == workspace->width) {
border_right = 0;
}
}
@@ -586,7 +586,7 @@ void update_geometry(swayc_t *container) {
border_top = 0;
}
- if (geometry.origin.y + geometry.size.h == workspace->height) {
+ if (geometry.size.h == workspace->height) {
border_bottom = 0;
}
}