cmd_floating: Support enable and disable commands too.

This is especially relevant in combination with `for_window`, e.g.:
`for_window [title="Terminal"] floating enable`.
This commit is contained in:
S. Christoffer Eliesen 2015-11-24 20:00:39 +01:00
parent 04bd9386fe
commit d9770cc243
2 changed files with 66 additions and 55 deletions

View file

@ -38,8 +38,8 @@ Commands
**exit**::
Exit sway and end your Wayland session.
**floating** toggle::
Toggles the "floating" status of the focused view.
**floating** <enable|disable|toggle>::
Make focused view floating, non-floating, or the opposite of what it is now.
**floating_modifier** <modifier>::
When the _modifier_ key is held down, you may use left click to drag floating