sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 4e6d7b125895955e3a84583c6d61f3eb2f8a4fe9
parent 38ca94e0ed2fe33ab71076680e9f70409a2e4115
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu,  1 Sep 2016 19:57:20 -0400

Merge pull request #878 from lukaslihotzki/master

Correct `hide_edge_borders` command
Diffstat:
Msway/layout.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sway/layout.c b/sway/layout.c @@ -575,7 +575,7 @@ void update_geometry(swayc_t *container) { // handle hide_edge_borders if (config->hide_edge_borders != E_NONE && (gap <= 0 || (config->smart_gaps && workspace->children->length == 1))) { - if (config->hide_edge_borders == E_HORIZONTAL || config->hide_edge_borders == E_BOTH) { + if (config->hide_edge_borders == E_VERTICAL || config->hide_edge_borders == E_BOTH) { if (geometry.origin.x == workspace->x) { border_left = 0; } @@ -585,7 +585,7 @@ void update_geometry(swayc_t *container) { } } - if (config->hide_edge_borders == E_VERTICAL || config->hide_edge_borders == E_BOTH) { + if (config->hide_edge_borders == E_HORIZONTAL || config->hide_edge_borders == E_BOTH) { if (geometry.origin.y == workspace->y || should_hide_top_border(container, geometry.origin.y)) { border_top = 0; }