summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-01-13 11:57:38 +0100
committerHans de Goede <hdegoede@redhat.com>2014-03-03 08:13:54 +0100
commit3346166a6596115421702c1f7e2732215674ab8e (patch)
tree414fee2c93bfe47aeed5d12eb835c41ba6879cf4 /config
parent6b79f28f5cb259f2168ecc3034fe2161e969bf7d (diff)
xf86Xinput: Modify API for server-managed fd support
With systemd-logind support, the xserver, rather than the drivers will be responsible for opening/closing the fd for input devices. This commit adds a new capabilities field to the InputDriverRec and a XI86_DRV_CAP_SERVER_FD flag for drivers to indicate that they support server managed fds. This commit adds a new XI86_SERVER_FD flag to indicate to drivers when the server is managing the fd and they should not open/close it. Note that even if drivers declare they support server managed fds there is no guarantee they will actually get them. Since this changes the input driver ABI, this commit bumps it. systemd-logind tracks devices by their chardev major + minor numbers, since we are breaking ABI anyways also add major and minor fields for easy storage / retrieval of these. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions