Draft: device: expose assigned seat

Devices that can be assigned to a seat has tag - seat and such devices are always assigned to one seat. If device is not assigned to other seat it is implicitly assigned to seat0.

https://www.freedesktop.org/software/systemd/man/sd-login.html
https://www.freedesktop.org/wiki/Software/systemd/multiseat/

See https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/297

TODO:

  • Deal with miss-tagged devices (i.e. UPS)
  • Handle changes to the seat assignment
Edited by Benjamin Berg

Merge request reports