The code assumes that there's only one seat, and has undefined behaviour if there's more than one.
I should map seat->keyboard, and when ctrl+c is pressed, copy into the clipboard for that seat.
I also need to figure out which seat started shotman
. I don't think this is currently possible via Wayland. This should be taken into account when determining the currently active output.
I also need to figure out which seat started shotman. I don't think this is currently possible via Wayland. This should be taken into account when determining the currently active output.
Opened discussion for this: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/118