ipc: add floating property to GET_TREE

i3 has had this property for over a decade but it wasn't documented
until a couple of years ago, so it was likely missed when developing
sway. Add the property to get us closer to ipc parity with i3.
This commit is contained in:
llyyr 2024-02-27 01:40:22 +05:30 committed by Simon Ser
parent fca8474e9b
commit 2867ef646b
2 changed files with 10 additions and 1 deletions

View file

@ -376,6 +376,9 @@ node and will have the following properties:
: integer
: (Only containers and views) The fullscreen mode of the node. 0 means none, 1 means
full workspace, and 2 means global fullscreen
|- floating
: string
: Floating state of container. Can be either "auto_off" or "user_on"
|- app_id
: string
: (Only views) For an xdg-shell view, the name of the application, if set.