xserver/hw/xfree86/common
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
..
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
compiler.h ARM64: Add support for aarch64 2013-11-06 16:41:49 -08:00
dgaproc.h hw/xfree86: Lots of constant string support 2014-01-12 10:14:48 -08:00
extramodes Remove some default modes that really shouldn't be in the default set. 2008-06-24 10:40:36 -04:00
fourcc.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
modeline2c.awk Remove some OS/2 leftovers. 2009-04-06 10:58:47 -04:00
vesamodes Fix standard VESA modes. 2006-11-03 14:06:32 -08:00
vidmodeproc.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xaarop.h xfree86: Drop some dead XAA decls from SDK headers 2012-07-25 14:03:31 -07:00
xf86.h xf86Events: add Enable/DisableInputDeviceForVTSwitch functions 2014-01-29 15:29:56 -08:00
xf86AutoConfig.c xfree86/common: Warning fixes. Mostly const string handling. 2014-01-12 10:14:48 -08:00
xf86Build.h.in Print the build time as well as the date if we can. 2007-06-04 02:03:44 -04:00
xf86Bus.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86Bus.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86Config.c xkb: add a call to init an XkbRMLVOSet from const chars 2014-02-04 10:53:59 +10:00
xf86Config.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86Configure.c xfree86: use xnfstrdup in the Xorg -configure code 2014-02-10 07:02:38 +10:00
xf86Cursor.c mipointer: Remove EnqueueEvent from miPointerScreenFuncRec 2013-09-10 13:28:23 -04:00
xf86DGA.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86DPMS.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86Events.c xf86Events: add Enable/DisableInputDeviceForVTSwitch functions 2014-01-29 15:29:56 -08:00
xf86Extensions.c xfree86/common: Warning fixes. Mostly const string handling. 2014-01-12 10:14:48 -08:00
xf86Extensions.h xf86: Re-export extension disable flags 2012-07-16 18:24:49 -07:00
xf86Globals.c xfree86: add autoAddGPU option (v2) 2012-07-06 10:35:20 +01:00
xf86Helper.c xf86DeleteScreen: move check for NULL pScrn before first dereference 2014-01-29 15:22:27 -08:00
xf86InPriv.h xfree86/common: Warning fixes. Mostly const string handling. 2014-01-12 10:14:48 -08:00
xf86Init.c dbus-core: Make dbus-core no longer mutually exclusive with udev 2014-01-29 15:28:58 -08:00
xf86Mode.c hw/xfree86: More const declarations for strings 2014-01-12 10:14:49 -08:00
xf86Module.h xf86Xinput: Modify API for server-managed fd support 2014-03-03 08:13:54 +01:00
xf86Opt.h xfree86/common: Warning fixes. Mostly const string handling. 2014-01-12 10:14:48 -08:00
xf86Option.c xfree86/common: Warning fixes. Mostly const string handling. 2014-01-12 10:14:48 -08:00
xf86Optionstr.h hw/xfree86: Lots of constant string support 2014-01-12 10:14:48 -08:00
xf86PM.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86PciInfo.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86Priv.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86Privstr.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86RandR.c DDX/Randr: Avoid server crash when xrandr SetConfig is called while switched away 2013-10-31 18:36:17 -07:00
xf86VGAarbiter.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86VGAarbiter.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86VGAarbiterPriv.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86VidMode.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86Xinput.c xf86Xinput: Modify API for server-managed fd support 2014-03-03 08:13:54 +01:00
xf86Xinput.h xf86Xinput: Modify API for server-managed fd support 2014-03-03 08:13:54 +01:00
xf86cmap.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86cmap.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86fbBus.c xfree86: use udev to provide device enumeration for kms devices (v10) 2012-07-06 10:20:19 +01:00
xf86fbman.c xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
xf86fbman.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86noBus.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86pciBus.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86pciBus.h xfree86/common: Warning fixes. Mostly const string handling. 2014-01-12 10:14:48 -08:00
xf86platformBus.c xfree86/common: Warning fixes. Mostly const string handling. 2014-01-12 10:14:48 -08:00
xf86platformBus.h xf86: don't hotplug output devices while VT switched. 2013-04-12 10:01:23 +10:00
xf86sbusBus.c xf86SbusCmapLoadPalette: Delay malloc until needed, avoiding leak on error 2013-04-24 14:22:36 -07:00
xf86sbusBus.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86str.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86vmode.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86xv.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86xv.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86xvmc.c xf86XvMCScreenInit: Avoid leak if dixRegisterPrivateKey fails 2013-02-05 18:34:57 -08:00
xf86xvmc.h hw/xfree86: Lots of constant string support 2014-01-12 10:14:48 -08:00
xf86xvpriv.h xfree86: fix new warnings introduced in rebase. 2012-06-05 10:33:23 -07:00
xisb.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xisb.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xorgHelper.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xorgVersion.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00