i3ipc-rs
i3ipc-rs copied to clipboard
Add marks property to Node
When a node has marks set, they will be in a 'marks' key in the JSON node. The key is absent if no marks are set. This isn't documented in the i3-rpc manual, so it's not stable. At the same time i3 changes fairly slowly, so it could be worth adding.
Hi, I'd prefer to honor https://i3wm.org/docs/ipc.html#_tree_reply
While the nodes might have more properties, please do not use any properties which are not documented here. They are not yet finalized and will probably change!
If the property's useful, it's probably best to request i3 devs stabilize it first
Rebased against latest master
I also noticed this was documented recently in i3-next: https://github.com/i3/i3/commit/7427d61f7f742b7de25d0b196ed5e6684f97af6f#diff-1429183bc39fbbc846a64ce95be90b0b
It's not on the published site yet, but presumably it will be soon.
We can safely merge this as it has been confirmed stable by Airblader as well as the relevant PR being merged.
Thanks! We don't aim to provide all fields there (this is mentioned in the paragraph above, too), but marks are definitely stable and worth documenting, so thanks again!
@tmerr, with the stability confirmation given above, can this now be merged?