parser: reorder v/h/vertical/horizontal

This eliminates an error message upon split horizontal which did not
occur in older i3 versions. The command itself worked just fine.
This commit is contained in:
Michael Stapelberg
2012-06-10 17:56:28 +02:00
parent 807d2288b6
commit f0b56c5e98
2 changed files with 40 additions and 30 deletions

View File

@ -130,7 +130,7 @@ state FULLSCREEN:
# split v|h|vertical|horizontal
state SPLIT:
direction = 'v', 'h', 'vertical', 'horizontal'
direction = 'horizontal', 'vertical', 'v', 'h'
-> call cmd_split($direction)
# floating enable|disable|toggle