3 ms·
There's no rule that an X11 server has to send all keypresses to all processes.
by immibis 2y ago
There's no rule that an X11 server has to send all keypresses to all processes.
- talldayo 2y agoBut the core framework of every x11 server relies on a loop that does poll HID connected to your machine for events. You can have an x11 server running with no windows connected and your keypresses will still be broadcast to any program that knows where to look.
- immibis 2y agoThat's exactly the same as Wayland, isn't it? Every Wayland compositor also polls HIDs connected to your machine for events. And if your Wayland compositor has permission to open those HIDs when running as your user account, so does any other program you run, regardless of Wayland or X.