xserver-multidpi/config
Peter Hutterer 15460eaed2 systemd-logind: let the logind code decided whether to close an fd
We can only request one fd per device from systemd-logind. If a fd is re-used
by the same device, releasing the fd from one device doesn't mean we can close
it. The systemd code knows when it's really released, so let it close the fd.

Test case: xorg.conf section for an input device with hotplugging enabled.
evdev detects the duplicate and closes the hotplugged device, which closes the
fd. The other instance of evdev thinks the fd is still valid so now you're
playing a double lottery. First, which client(s) will get the evdev fd?
Second, which requests will be picked up by evdev and which ones will be
picked up by the client? You'll never know, but the fun is in finding out.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2014-05-05 07:26:33 +10:00
..
10-evdev.conf config: only match sane devices in 10-evdev.conf 2010-04-08 15:21:00 +10:00
10-quirks.conf config: add a quirks file for devices needing special configuration 2013-06-06 08:12:42 +10:00
config-backends.h dbus-core: Make dbus-core no longer mutually exclusive with udev 2014-01-29 15:28:58 -08:00
config.c systemd-logind: let the logind code decided whether to close an fd 2014-05-05 07:26:33 +10:00
dbus-api Hotplug: D-Bus: API version 2 2007-08-01 01:53:31 +03:00
dbus-core.c dbus-core: Attempt to connect to dbus ASAP 2014-01-29 15:29:00 -08:00
fdi2iclass.py config: Script to convert HAL fdi settings to InputClass sections 2010-06-11 09:31:38 +10:00
hal.c config: search for PnPID on all parents (#75513) 2014-03-12 07:43:16 +10:00
Makefile.am Get rid of config/non-seat0.conf.multi-seat 2014-02-17 08:44:33 +10:00
udev.c Remove config_odev_add_*attribute checks in various places 2014-03-12 08:50:05 +01:00
wscons.c Fix up formatting of initializers for arrays of structs 2012-08-06 15:22:53 -07:00
x11-input.fdi config: remove mention of AllowEmptyInput 2010-11-11 10:26:44 +10:00