diff --git a/debian/changelog b/debian/changelog index d2066ba..d360489 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +lxqt-session (1.1.1-0ubuntu2) UNRELEASED; urgency=medium + + * Add upstream patch fixing some bluetooth settings. + + -- Simon Quigley Mon, 06 Jun 2022 16:10:31 -0500 + lxqt-session (1.1.1-0ubuntu1) kinetic; urgency=medium * New upstream release. diff --git a/debian/patches/fix-bluetooth-saving-settings.patch b/debian/patches/fix-bluetooth-saving-settings.patch new file mode 100644 index 0000000..91c41e7 --- /dev/null +++ b/debian/patches/fix-bluetooth-saving-settings.patch @@ -0,0 +1,27 @@ +From 9d63aba3cdb88dafb837fe3e94ada3047de7ec0c Mon Sep 17 00:00:00 2001 +From: Chih-Hsuan Yen +Date: Sun, 29 May 2022 20:22:08 +0800 +Subject: [PATCH] Reload mouse & touchpad settings when devices are reconnected + +Fixes https://github.com/lxqt/lxqt/issues/2245 +--- + lxqt-session/src/sessionapplication.cpp | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/lxqt-session/src/sessionapplication.cpp b/lxqt-session/src/sessionapplication.cpp +index 86a7ff1b..97c80974 100644 +--- a/lxqt-session/src/sessionapplication.cpp ++++ b/lxqt-session/src/sessionapplication.cpp +@@ -91,10 +91,11 @@ bool SessionApplication::startup() + // but with such a little probablity we can live... + LXQt::Settings settings(configName); + loadKeyboardSettings(settings); ++ QProcess::startDetached(QStringLiteral("lxqt-config-input"), QStringList(QStringLiteral("--load-touchpad"))); + }); + connect(dev_notifier, &UdevNotifier::deviceAdded, this, [this, dev_timer] (QString device) + { +- qCWarning(SESSION) << QStringLiteral("Session '%1', new input device '%2', keyboard setting will be (optionaly) reloaded...").arg(configName,device); ++ qCWarning(SESSION) << QStringLiteral("Session '%1', new input device '%2', keyboard, mouse and touchpad settings will be (optionaly) reloaded...").arg(configName,device); + dev_timer->start(); + }); + // Detect display connection: diff --git a/debian/patches/series b/debian/patches/series index 0ed5a23..687af45 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ ensure-necessary-paths-are-pulled-from.patch +fix-bluetooth-saving-settings.patch