aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2019-07-10 21:25:10 -0400
committerFurkan Sahin <furkan-dev@proton.me>2019-07-10 21:25:10 -0400
commit5d29d17090f9573e714ce9793b262f52b990fd57 (patch)
treeb16a3055aef48a903b1b4d5227c243f64f3a82d1 /common
parent0899930f2c90d25c082f020ec5b2854fe6763ec0 (diff)
cmd_split: fix toggle split for non-split layouts
Previously, `layout toggle` and `layout toggle split` would set L_VERT when layout was L_HORIZ, otherwise it would set L_HORIZ. This meant that when the layout was L_TABBED or L_STACKED, it would always be L_HORIZ. This extends #4315 (which corrects the handling when multiple layouts are given) to try prev_split_layout, config->default_orientation, and then falling back to L_VERT when the output is taller than wide and L_HORIZ when wider than tall.
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions