module/i3: workspace::focus is apparently Sway only

On i3, users are currently greeted with:

  err: modules/i3.c:94: workspace reply/event without 'name' and/or
       'output', and/or 'focus' properties

This patch makes ‘focus’ an optional attribute. When missing, we
assume a node-count of 0, which means the workspace’s ‘empty’ tag will
always be true. Document this in the i3 man page.
This commit is contained in:
Daniel Eklöf 2022-02-15 21:14:08 +01:00
parent 1ce108f24e
commit c44970717b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 18 additions and 7 deletions

View file

@ -23,6 +23,12 @@
### Deprecated
### Removed
### Fixed
* i3: fixed “missing workspace indicator” (_err: modules/i3.c:94:
workspace reply/event without 'name' and/or 'output', and/or 'focus'
properties_).
### Security
### Contributors