xserver/hw/xfree86
Hans de Goede 3346166a65 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>
2014-03-03 08:13:54 +01:00
..
common xf86Xinput: Modify API for server-managed fd support 2014-03-03 08:13:54 +01:00
ddc Merge remote-tracking branch 'dlespiau/20131216-4k' 2014-01-22 11:32:35 -08:00
dixmods Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
doc dix: Remove refs to mi backing store from docs 2012-09-23 10:31:39 -07:00
dri xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
dri2 Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
exa xfree86/exa: xf86GetOptValString returns const char * now 2014-01-12 10:14:50 -08:00
fbdevhw xfree86/fbdevhw: Fix warnings 2014-01-12 10:14:50 -08:00
i2c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
int10 Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
loader Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
man xfree86/man: document AutoAddGPU 2013-08-01 14:45:56 +10:00
modes edid: Add quirk for Sony Vaio Pro 13 2014-01-30 16:27:59 -08:00
os-support linux: xf86OpenConsole: Don't detach from controlling tty when it is our vt 2014-03-03 08:13:54 +01:00
parser xfree86: unconstify driver in the XF86ConfInputClassRec 2014-02-05 14:32:23 +10:00
ramdac Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
shadowfb Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
utils Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
vbe Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
vgahw Link libvgahw with $(PCIACCESS_LIBS) as well 2014-01-29 15:21:55 -08:00
x86emu xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
.gitignore xfree86: Move sdksyms generation to ddx toplevel 2011-06-23 05:28:31 -07:00
Makefile.am xfree86: Don't complain when the SDK dependency file doesn't exist yet 2014-01-12 10:14:50 -08:00
sdksyms.sh xfree86 warning reduction 2014-01-12 10:14:49 -08:00
xorgconf.cpp xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00