Simon Ser, le mer. 24 févr. 2021 23:07:46 +0000, a ecrit: > On Thursday, February 25th, 2021 at 12:03 AM, Samuel Thibault > <samuel.thiba...@ens-lyon.org> wrote: > > > Simon Ser, le mer. 24 févr. 2021 22:57:02 +0000, a ecrit: > > > As prior art, I can think of wshowkeys [1] which displays which keys are > > > being > > > pressed on screen. It uses a helper suid process, opens > > > /dev/input/whatever, > > > drops privileges, and relays key presses to the main process. > > > > > > [1]: https://git.sr.ht/~sircmpwn/wshowkeys > > > > This would be very fragile: we do not know what keyboards wayland is > > actually reading. > > Wayland is very likely reading from all keyboards. > > Some cases where this doesn't hold: > > - The user has explicitly disabled a keyboard. > - The user has a multi-seat setup, and has keyboards assigned to > different logical seats.
Yes, and we do want to support these cases seamlessly. Samuel _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel