aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-07-10 15:16:17 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-07-10 15:29:38 -0400
commit5ffcea4c28103ecac3d4970412e8b44dbccfcb22 (patch)
treed7266d830b25e67c337f21768a92a868872a3851 /.editorconfig
parentconfig/output: correctly set width/height in apply (diff)
downloadsway-5ffcea4c28103ecac3d4970412e8b44dbccfcb22.tar.gz
sway-5ffcea4c28103ecac3d4970412e8b44dbccfcb22.tar.zst
sway-5ffcea4c28103ecac3d4970412e8b44dbccfcb22.zip
cmd_layout: toggle split for tabbed/stack default
This fixes the logic of split for layout toggle when the default layout is L_TABBED or L_STACKED. When the default layout is L_TABBED or L_STACKED, the container/workspace may not have a prev_split_layout. This was causing L_NONE to be returned by get_layout_toggle, which was being handled as a syntax error. This adds logic to try config->default_orientation when prev_split_layout is L_NONE. If that is also L_NONE, then L_VERT is used when the output is taller than wide, otherwise, L_HORIZ is used.
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions