- Jun 19, 2019
-
-
Colomban Wendling authored
-
- Jun 05, 2019
-
-
Colomban Wendling authored
It's actually not exactly the upstream sources (it's the Git repository, not the tarball), and it confuses our Jenkins builder, so just drop all of this that is not needed with the pristine-tar data.
-
Colomban Wendling authored
-
Colomban Wendling authored
We also have to specify the format explicitly as we have a debian/source/ directory.
- Jan 12, 2017
-
-
Timo Aaltonen authored
-
Andreas Boll authored
-
Andreas Boll authored
-
Andreas Boll authored
-
Andreas Boll authored
-
If an XKB AccessX timeout is set and a VT switch is triggered, the AccessXTimeoutExpire function may be called after the device has already been disabled. This can cause a null-pointer dereference as our shared libinput device may have been released by then. In the legacy drivers this would've simply caused a write to an invalid fd (-1), not a crash. Here we need to be more careful. https://bugs.freedesktop.org/show_bug.cgi?id=98464 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com> (cherry picked from commit f47f78eb)
-
- Dec 12, 2016
-
-
Emilio Pozuelo Monfort authored
-
Emilio Pozuelo Monfort authored
-
Emilio Pozuelo Monfort authored
-
Emilio Pozuelo Monfort authored
-
Emilio Pozuelo Monfort authored
-
Emilio Pozuelo Monfort authored
-
Emilio Pozuelo Monfort authored
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Dec 05, 2016
-
-
Peter Hutterer authored
Was exposing the evdev code rather than the xorg code. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
-
- Nov 19, 2016
-
-
Peter Hutterer authored
The parent device ref's the libinput device during pre_init and unref's it during DEVICE_INIT, so the copy is lost. During DEVICE_ON, the libinput device is re-added and ref'd, this one stays around now. But the takeaway is: unless the device is enabled, no libinput device reference is available. If a device is a mixed pointer + keyboard device, a subdevice is created during a WorkProc. The subdevice relied on the parent's libinput_device being available and didn't even check for it. This WorkProc usually runs after the parent's DEVICE_ON, so in most cases all is well. But when running without logind and the server is vt-switched away, the parent device only runs PreInit and DEVICE_INIT but never DEVICE_ON, causing the subdevice to burn, crash, and generally fail horribly when it dereferences the parent's libinput device. Fix this because we have global warming already and don't need to burn more things and also because it's considered bad user experience to have the server crash. The simple fix is to check the parent device first and if it is unavailable, create a new one because it will end up disabled as well anyway, so the ref goes away as well. The use-case where the parent somehow gets disabled but the subdevice doesn't is a bit too niche to worry about. This doesn't happen with logind because in that case we don't get a usable fd while VT-switched away, so we can't even run PreInit and never get this far (see the paused fd handling in the xfree86 code for that). It can be reproduced by setting AutoEnableDevices off, but why would you do that, seriously. https://bugs.freedesktop.org/show_bug.cgi?id=97117 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
-
- Nov 18, 2016
-
-
Timo Aaltonen authored
-
- Nov 14, 2016
-
-
Peter Hutterer authored
The property is tablet-wide, not just per tool. So when one tool is updated, run through all other devices that share the same underlying device. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
-
- Nov 07, 2016
-
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
- Nov 01, 2016
-
-
Peter Hutterer authored
Exit early if the string is NULL to reduce indentation. No functional changes. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Now that we sort below the xf86-input-wacom driver anyway, there's no good reason to ignore tablets anymore. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Oct 27, 2016
-
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
This device never sends events, no point in exposing these options Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
-
- Oct 20, 2016
-
-
Peter Hutterer authored
Found by coverity. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Oct 19, 2016
-
-
Peter Hutterer authored
is_libinput_device(next) causes a dereference of next anyway, so this cannot ever be NULL. Besides, if next ends up as NULL that means we have lost count of how many remaining devices use libinput, so we have other issues. Found by coverity. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
They were never used anyway Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Missing from a790ff35 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Oct 18, 2016
-
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
If we don't swap out the pInfo previously passed to xf86AddEnabledDevice(), the thread eventually calls read_input on a struct that has been deleted. Avoid this by swapping out the to-be-destroyed pInfo with the first one we find. Reproducer: sudo udevadm trigger --type=devices --action=add Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
-
- Oct 14, 2016
-
-
Peter Hutterer authored
Copy/paste error https://bugs.freedesktop.org/show_bug.cgi?id=97989 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Sep 30, 2016
-
-
Timo Aaltonen authored
Tagging upload of xserver-xorg-input-libinput 0.19.1-1 to unstable.
-