1
1
mirror of https://github.com/swaywm/sway synced 2024-11-18 19:03:59 +01:00

fix regression in hide_edge_borders

This commit is contained in:
Zandr Martin 2016-07-21 21:15:46 -05:00
parent 9fe1d3da38
commit 3137615838
No known key found for this signature in database
GPG Key ID: AA2BB8EF77F7BBDC

@ -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;
}
}