diff options
author | D.B <thejan.2009@gmail.com> | 2016-07-30 15:22:53 +0200 |
---|---|---|
committer | D.B <thejan.2009@gmail.com> | 2016-07-30 15:22:53 +0200 |
commit | c33e0ee629e263bcf158df59bff01c1289d18d0a (patch) | |
tree | 2bb69da49ca0499b938192899b7d1e4c2f16d7c5 /sway/layout.c | |
parent | 8d0048c8d5b3774f79fcb0711d63bcc226b78631 (diff) |
revert border hiding to more recent version
Diffstat (limited to 'sway/layout.c')
-rw-r--r-- | sway/layout.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sway/layout.c b/sway/layout.c index ba9a8864..6502d930 100644 --- a/sway/layout.c +++ b/sway/layout.c @@ -579,9 +579,7 @@ void update_geometry(swayc_t *container) { border_left = 0; } - if (geometry.origin.x + geometry.size.w == size.w || - geometry.size.w == container->x + container->width) { - // should work for swaybar at right + if (geometry.origin.x + geometry.size.w == workspace->x + workspace->width) { border_right = 0; } } @@ -591,9 +589,7 @@ void update_geometry(swayc_t *container) { border_top = 0; } - if (geometry.origin.y + geometry.size.h == size.h || - geometry.size.h == container->y + container->height) { - // this works for swaybar at bottom + if (geometry.origin.y + geometry.size.h == workspace->y + workspace->height) { border_bottom = 0; } } |