> If you don't bother about any app being able to spoof on your pressed keys: go, use Xorg.
The correct response to "All applications can spoof keypresses or act as a keylogger" is "Okay, force user to grant permission before an application does this".
The Wayland response is "No application should be allowed to do this".
Whether you like it or not, sometimes users actually want functionality that you deem is insecure, and you gotta find a way to deliver what Windows, MacOS and X11 all deliver.
How would that experience work on X? Wouldn't any app that accepts keyboard input throw up your suggested permission granting interface? That's pretty much all apps.
Also it's not like global hotkeys don't exist in Wayland.
> How would that experience work on X? Wouldn't any app that accepts keyboard input throw up your suggested permission granting interface? That's pretty much all apps.
That's the point - applications that need to perform malicious looking (but not actually) activity like intercepting or injecting keyboard inputs already work on X! What we are talking about is them not working on Wayland!
> Also it's not like global hotkeys don't exist in Wayland.
There are more features than simply mapping hotkeys, remapping keyboards, etc which already work on consumer computers, such as Windows, MacOS and X. What we are asking for when we complain about Wayland is the same functionality that already exists on Windows, MacOS and X.
Whether the Waylan devs think that the requests are unreasonable or not is, frankly, irrelevant. When everyone but Wayland supports something, the Wayland developers have to justify their decision to go against the norm.
The people asking for the norm typically don't need to justify why they want the norm.
The correct response to "All applications can spoof keypresses or act as a keylogger" is "Okay, force user to grant permission before an application does this".
The Wayland response is "No application should be allowed to do this".
Whether you like it or not, sometimes users actually want functionality that you deem is insecure, and you gotta find a way to deliver what Windows, MacOS and X11 all deliver.