Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libinput for openSUSE:Factory 
checked in at 2021-05-02 18:35:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libinput (Old)
 and      /work/SRC/openSUSE:Factory/.libinput.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libinput"

Sun May  2 18:35:09 2021 rev:99 rq:889460 version:1.17.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libinput/libinput.changes        2021-04-08 
21:01:20.141846860 +0200
+++ /work/SRC/openSUSE:Factory/.libinput.new.1947/libinput.changes      
2021-05-02 18:35:13.213176841 +0200
@@ -1,0 +2,7 @@
+Fri Apr 30 06:03:38 UTC 2021 - Jan Engelhardt <[email protected]>
+
+- Update to release 1.17.2
+  * Fix sensitivity for Dell Latitude 7490 pointing-stick
+  * Add palm size quirk for the Gigabyte Aero 15
+
+-------------------------------------------------------------------

Old:
----
  libinput-1.17.1.tar.xz
  libinput-1.17.1.tar.xz.sig

New:
----
  libinput-1.17.2.tar.xz
  libinput-1.17.2.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libinput.spec ++++++
--- /var/tmp/diff_new_pack.v7kvLZ/_old  2021-05-02 18:35:13.773174455 +0200
+++ /var/tmp/diff_new_pack.v7kvLZ/_new  2021-05-02 18:35:13.777174437 +0200
@@ -37,7 +37,7 @@
 %define lname  libinput10
 %define pname  libinput
 Name:           libinput%{?xsuffix}
-Version:        1.17.1
+Version:        1.17.2
 Release:        0
 Summary:        Input device and event processing library
 License:        MIT

++++++ libinput-1.17.1.tar.xz -> libinput-1.17.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libinput-1.17.1/meson.build 
new/libinput-1.17.2/meson.build
--- old/libinput-1.17.1/meson.build     2021-03-24 06:20:58.531437400 +0100
+++ new/libinput-1.17.2/meson.build     2021-04-30 06:25:41.527076200 +0200
@@ -1,5 +1,5 @@
 project('libinput', 'c',
-       version : '1.17.1',
+       version : '1.17.2',
        license : 'MIT/Expat',
        default_options : [ 'c_std=gnu99', 'warning_level=2' ],
        meson_version : '>= 0.47.0')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libinput-1.17.1/quirks/30-vendor-razer.quirks 
new/libinput-1.17.2/quirks/30-vendor-razer.quirks
--- old/libinput-1.17.1/quirks/30-vendor-razer.quirks   2021-03-24 
06:20:58.532437300 +0100
+++ new/libinput-1.17.2/quirks/30-vendor-razer.quirks   2021-04-30 
06:25:41.527076200 +0200
@@ -14,6 +14,13 @@
 MatchProduct=0x0233
 AttrKeyboardIntegration=internal
 
+[Razer Blade Stealth Keyboard]
+MatchUdevType=keyboard
+MatchBus=usb
+MatchVendor=0x1532
+MatchProduct=0x0252
+AttrKeyboardIntegration=internal
+
 [Razer Blade Lid Switch]
 MatchName=*Lid Switch*
 MatchDMIModalias=dmi:*svnRazer:pnBlade*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libinput-1.17.1/quirks/50-system-dell.quirks 
new/libinput-1.17.2/quirks/50-system-dell.quirks
--- old/libinput-1.17.1/quirks/50-system-dell.quirks    2021-03-24 
06:20:58.532437300 +0100
+++ new/libinput-1.17.2/quirks/50-system-dell.quirks    2021-04-30 
06:25:41.528076400 +0200
@@ -82,6 +82,12 @@
 MatchDMIModalias=dmi:*svnDellInc.:pnLatitudeE7470*
 AttrTrackpointMultiplier=0.125
 
+[Latitude 7490 Trackpoint]
+MatchName=*Mouse
+MatchUdevType=pointingstick
+MatchDMIModalias=dmi:**bvnDellInc.:*:pnLatitude7490*
+AttrTrackpointMultiplier=0.3
+
 [Precision 7x50 Touchpad]
 MatchBus=i2c
 MatchUdevType=touchpad
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libinput-1.17.1/quirks/50-system-gigabyte.quirks 
new/libinput-1.17.2/quirks/50-system-gigabyte.quirks
--- old/libinput-1.17.1/quirks/50-system-gigabyte.quirks        1970-01-01 
01:00:00.000000000 +0100
+++ new/libinput-1.17.2/quirks/50-system-gigabyte.quirks        2021-04-30 
06:25:41.528076400 +0200
@@ -0,0 +1,5 @@
+[Gigabyte Aero 15 touchpad]
+MatchUdevType=touchpad
+MatchName=ETPS/2 Elantech Touchpad
+MatchDMIModalias=dmi:*svnGIGABYTE:pnAERO15-XA*
+AttrPalmSizeThreshold=800
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libinput-1.17.1/quirks/50-system-lenovo.quirks 
new/libinput-1.17.2/quirks/50-system-lenovo.quirks
--- old/libinput-1.17.1/quirks/50-system-lenovo.quirks  2021-03-24 
06:20:58.532437300 +0100
+++ new/libinput-1.17.2/quirks/50-system-lenovo.quirks  2021-04-30 
06:25:41.528076400 +0200
@@ -221,3 +221,12 @@
 MatchVendor=0x048D
 MatchProduct=0xC955
 AttrKeyboardIntegration=internal
+
+# https://gitlab.freedesktop.org/libinput/libinput/-/issues/604
+[Lenovo Yoga Slim 9 14ITL5 Pressurepad]
+MatchBus=i2c
+MatchVendor=0x27C6
+MatchProduct=0x01E8
+AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE;
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libinput-1.17.1/src/evdev-tablet-pad-leds.c 
new/libinput-1.17.2/src/evdev-tablet-pad-leds.c
--- old/libinput-1.17.1/src/evdev-tablet-pad-leds.c     2021-03-24 
06:20:58.535437300 +0100
+++ new/libinput-1.17.2/src/evdev-tablet-pad-leds.c     2021-04-30 
06:25:41.530076300 +0200
@@ -132,7 +132,7 @@
        if (rc == -1)
                goto error;
 
-       fd = open_restricted(libinput, path, O_RDONLY);
+       fd = open_restricted(libinput, path, O_RDONLY | O_NONBLOCK | O_CLOEXEC);
        if (fd < 0) {
                errno = -fd;
                goto error;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libinput-1.17.1/src/evdev.c 
new/libinput-1.17.2/src/evdev.c
--- old/libinput-1.17.1/src/evdev.c     2021-03-24 06:20:58.536437300 +0100
+++ new/libinput-1.17.2/src/evdev.c     2021-04-30 06:25:41.531076400 +0200
@@ -1024,6 +1024,7 @@
 {
        struct libinput *libinput = evdev_libinput_context(device);
        uint32_t tdelta;
+       uint64_t eventtime = input_event_time(ev);
 
        /* if we have a current libinput_dispatch() snapshot, compare our
         * event time with the one from the snapshot. If we have more than
@@ -1031,10 +1032,11 @@
         * where there is no steady event flow and thus SYN_DROPPED may not
         * get hit by the kernel despite us being too slow.
         */
-       if (libinput->dispatch_time == 0)
+       if (libinput->dispatch_time == 0 ||
+           eventtime > libinput->dispatch_time)
                return;
 
-       tdelta = us2ms(libinput->dispatch_time - input_event_time(ev));
+       tdelta = us2ms(libinput->dispatch_time - eventtime);
        if (tdelta > 10) {
                evdev_log_bug_client_ratelimit(device,
                                               &device->delay_warning_limit,

Reply via email to