Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package plasma5-desktop for openSUSE:Factory
checked in at 2023-04-21 14:15:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma5-desktop (Old)
and /work/SRC/openSUSE:Factory/.plasma5-desktop.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma5-desktop"
Fri Apr 21 14:15:42 2023 rev:193 rq:1080479 version:5.27.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma5-desktop/plasma5-desktop.changes
2023-04-05 21:34:28.754165796 +0200
+++
/work/SRC/openSUSE:Factory/.plasma5-desktop.new.1533/plasma5-desktop.changes
2023-04-21 14:15:50.446186820 +0200
@@ -1,0 +2,7 @@
+Wed Apr 19 19:03:02 UTC 2023 - Fabian Vogt <[email protected]>
+
+- Add patch to fix configuration of mouse acceleration with
+ xf86-input-libinput >= 1.3.0 (kde#468217):
+ * 0001-KCM-mouse-enable-compatibility-with-x11-libinput-1.3.patch
+
+-------------------------------------------------------------------
New:
----
0001-KCM-mouse-enable-compatibility-with-x11-libinput-1.3.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ plasma5-desktop.spec ++++++
--- /var/tmp/diff_new_pack.sPgB8l/_old 2023-04-21 14:15:51.258191373 +0200
+++ /var/tmp/diff_new_pack.sPgB8l/_new 2023-04-21 14:15:51.266191418 +0200
@@ -42,6 +42,8 @@
Source1:
https://download.kde.org/stable/plasma/%{version}/plasma-desktop-%{version}.tar.xz.sig
Source2: plasma.keyring
%endif
+# PATCH-FIX-UPSTREAM
+Patch1: 0001-KCM-mouse-enable-compatibility-with-x11-libinput-1.3.patch
# PATCH-FIX-OPENSUSE
Patch100: 0001-Apply-branding-to-default-favorites.patch
Patch101: 0002-No-usr-bin-env-in-shebangs.patch
++++++ 0001-KCM-mouse-enable-compatibility-with-x11-libinput-1.3.patch ++++++
>From 2a1ea4d02bc3fd90bf63099ba6752eb23808dff7 Mon Sep 17 00:00:00 2001
From: Ilia Kats <[email protected]>
Date: Wed, 19 Apr 2023 00:06:42 +0200
Subject: [PATCH] KCM/mouse: enable compatibility with x11-libinput 1.3
The new version of libinput added an additional mouse acceleration
profile, so our checks were too restrictive and settings were not
applied.
BUG: 468217
---
kcms/mouse/backends/x11/x11_libinput_dummydevice.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kcms/mouse/backends/x11/x11_libinput_dummydevice.cpp
b/kcms/mouse/backends/x11/x11_libinput_dummydevice.cpp
index cb28980f2..e41731a2a 100644
--- a/kcms/mouse/backends/x11/x11_libinput_dummydevice.cpp
+++ b/kcms/mouse/backends/x11/x11_libinput_dummydevice.cpp
@@ -75,13 +75,13 @@ void valueWriterPart<bool>(bool val, Atom valAtom, Display
*dpy)
return;
}
- unsigned char sendVal[2] = {0};
+ unsigned char sendVal[3] = {0};
if (num_items_return == 1) {
sendVal[0] = val;
} else {
// Special case for acceleration profile.
const Atom accel = XInternAtom(dpy,
LIBINPUT_PROP_ACCEL_PROFILE_ENABLED, True);
- if (num_items_return != 2 || valAtom != accel) {
+ if (num_items_return < 2 || num_items_return > 3 || valAtom !=
accel) {
return;
}
sendVal[val] = 1;
--
2.40.0