diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-01 21:28:13 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-01 21:28:13 +1000 |
commit | 016d0455f809ac3b8da8a040611d691b96502c15 (patch) | |
tree | 3b6131e483dfb9abb40de08c03d19b82d5c20137 /sway/commands.c | |
parent | Merge pull request #2546 from RyanDwyer/fix-transaction-spamming (diff) | |
download | sway-016d0455f809ac3b8da8a040611d691b96502c15.tar.gz sway-016d0455f809ac3b8da8a040611d691b96502c15.tar.zst sway-016d0455f809ac3b8da8a040611d691b96502c15.zip |
Implement deprecated new_window and new_float commands
May as well make it as easy as possible for users who are coming from
i3.
This also changes the `border` command to accept a thickness when
setting the border to normal. This makes it work the same way as the
`default_border` command. Eg. `border normal 5`
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c index d9c54adc..13f5983e 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -118,6 +118,8 @@ static struct cmd_handler handlers[] = { | |||
118 | { "input", cmd_input }, | 118 | { "input", cmd_input }, |
119 | { "mode", cmd_mode }, | 119 | { "mode", cmd_mode }, |
120 | { "mouse_warping", cmd_mouse_warping }, | 120 | { "mouse_warping", cmd_mouse_warping }, |
121 | { "new_float", cmd_default_floating_border }, | ||
122 | { "new_window", cmd_default_border }, | ||
121 | { "no_focus", cmd_no_focus }, | 123 | { "no_focus", cmd_no_focus }, |
122 | { "output", cmd_output }, | 124 | { "output", cmd_output }, |
123 | { "seat", cmd_seat }, | 125 | { "seat", cmd_seat }, |