sway

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

commit 63567f5ac6f48ce722889dd9887e5f9f1ae62cc7
parent c6a74cb4df7a50138390a37eb031ef8bd35df7fc
Author: Brian Ashworth <RedSoxFan@users.noreply.github.com>
Date:   Thu,  6 Sep 2018 00:42:47 -0400

Merge pull request #2587 from RyanDwyer/fix-layout-toggle-crash

Fix crash when running "layout toggle"
Diffstat:
Msway/commands/layout.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/commands/layout.c b/sway/commands/layout.c @@ -29,7 +29,7 @@ static enum sway_container_layout get_layout_toggle(int argc, char **argv, enum sway_container_layout layout, enum sway_container_layout prev_split_layout) { // "layout toggle" - if (argc == 0) { + if (argc == 1) { return layout == L_HORIZ ? L_VERT : L_HORIZ; }