@pettter Oh. Neither direction is possible? I thought I had seen a w2x or x2w, but maybe I dreamed it.
I understand that Wayland is more careful with permissions, whereas on X everything can spy on everything, so spoofing keyboard input etc is no issue on X.