mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 06:24:20 +01:00
Merge pull request #780 from zandrmartin/fix-edge-gap
fix regression in hide_edge_borders
This commit is contained in:
commit
789870e60e
@ -576,7 +576,7 @@ void update_geometry(swayc_t *container) {
|
|||||||
border_left = 0;
|
border_left = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (geometry.origin.x + geometry.size.w == workspace->width) {
|
if (geometry.size.w == workspace->width) {
|
||||||
border_right = 0;
|
border_right = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -586,7 +586,7 @@ void update_geometry(swayc_t *container) {
|
|||||||
border_top = 0;
|
border_top = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (geometry.origin.y + geometry.size.h == workspace->height) {
|
if (geometry.size.h == workspace->height) {
|
||||||
border_bottom = 0;
|
border_bottom = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user