mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
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`
This commit is contained in:
parent
1f1b1b34d6
commit
016d0455f8
2 changed files with 5 additions and 3 deletions
|
|
@ -118,6 +118,8 @@ static struct cmd_handler handlers[] = {
|
|||
{ "input", cmd_input },
|
||||
{ "mode", cmd_mode },
|
||||
{ "mouse_warping", cmd_mouse_warping },
|
||||
{ "new_float", cmd_default_floating_border },
|
||||
{ "new_window", cmd_default_border },
|
||||
{ "no_focus", cmd_no_focus },
|
||||
{ "output", cmd_output },
|
||||
{ "seat", cmd_seat },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue