Skip to content

Draft: wayland: Implement the "inputfd" wayland protocols

Carlos Garnacho requested to merge wip/carlosg/inputfd into main

This allows lending control to applications of evdev devices, and withdrawing it with focus changes. Underneath, the device FD is revoked control through the EVIOCREVOKE ioctl, and closed. The newly focused client receives a brand new FD obtained through logind, which will be again revoked in a future focus change.

Draft as it depends on https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/110

Merge request reports