xf86-input-libinput: Changes to 'master'
Peter Hutterer
whot at kemper.freedesktop.org
Thu Nov 19 16:56:35 PST 2015
src/xf86libinput.c | 413 +++++++----------------------------------------------
1 file changed, 59 insertions(+), 354 deletions(-)
New commits:
commit 83dfd31ec8ec2596648c33059fffb93b19691fae
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Fri Nov 20 10:51:38 2015 +1000
Revert "Split mixed pointer/keyboard devices into two separate X devices"
When using logind, this causes the server to hang when a split device is
unplugged. The reason is mostly in the server, when open the device by
requesting the logind fd, the server loops through the device list to check if
any other device has the same major/minor (see systemd_logind_take_fd()) and
returns the pInfo->fd for that device instead of requesting the fd again from
logind.
For libinput devices, the pInfo->fd is the epollfd, not the actual device, so
our second device gets the epollfd assigned. When the devices are removed, we
keep the device fd open and release the epollfd through logind.
This reverts commit c943739a2bfd4c380db0b21bc35b73deb7496c8a.
More information about the xorg-commit
mailing list