diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-02-18 19:32:44 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-02-18 20:55:45 +0100 |
commit | 4012bcddce5212c8ed04ee2a1f24b7a632c054c9 (patch) | |
tree | 1fc87152fe292ba423b1dcaf42492e282db29215 /kde-plasma/plasma-desktop/files | |
parent | sys-libs/pam: more prefix cleanups (diff) | |
download | gentoo-4012bcddce5212c8ed04ee2a1f24b7a632c054c9.tar.gz gentoo-4012bcddce5212c8ed04ee2a1f24b7a632c054c9.tar.bz2 gentoo-4012bcddce5212c8ed04ee2a1f24b7a632c054c9.zip |
kde-plasma/plasma-desktop: Fix default keyboard repeat state
Upstream commit 5550af1fd10dccda80be4586f19e3aa0995be2bc
KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=431923
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/plasma-desktop/files')
-rw-r--r-- | kde-plasma/plasma-desktop/files/plasma-desktop-5.21.0-keyboard-repeat.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.21.0-keyboard-repeat.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.21.0-keyboard-repeat.patch new file mode 100644 index 000000000000..8c7902c0e7dd --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.21.0-keyboard-repeat.patch @@ -0,0 +1,31 @@ +From 5550af1fd10dccda80be4586f19e3aa0995be2bc Mon Sep 17 00:00:00 2001 +From: Jan Blackquill <uhhadd@gmail.com> +Date: Wed, 17 Feb 2021 12:34:15 -0500 +Subject: [PATCH] kcms/keyboard: fix migration + +TriState::STATE_ON is 0, while TriState::STATE_OFF is 1. +We're currently migrating 0 -> disabled, when it should be +1 -> disabled, * -> enabled. + +BUG: 431923 +FIXED-IN: 5.21.1 +--- + kcms/keyboard/kcminputrc_migrate_repeat_value.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/kcms/keyboard/kcminputrc_migrate_repeat_value.py b/kcms/keyboard/kcminputrc_migrate_repeat_value.py +index 1440c570e..bd1667969 100755 +--- a/kcms/keyboard/kcminputrc_migrate_repeat_value.py ++++ b/kcms/keyboard/kcminputrc_migrate_repeat_value.py +@@ -4,7 +4,7 @@ import sys + for line in sys.stdin: + line = line.rstrip() + print(line, file=sys.stderr) +- if line.startswith("KeyboardRepeating=0"): ++ if line.startswith("KeyboardRepeating=1"): + print("KeyRepeat=nothing") + elif line.startswith("KeyboardRepeating="): + print("KeyRepeat=repeat") +-- +GitLab + |