diff options
Diffstat (limited to 'kde-plasma/plasma-desktop/files/plasma-desktop-5.20.5-kcm_keyboard-no-setxkbmap-on-camera.patch')
-rw-r--r-- | kde-plasma/plasma-desktop/files/plasma-desktop-5.20.5-kcm_keyboard-no-setxkbmap-on-camera.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.20.5-kcm_keyboard-no-setxkbmap-on-camera.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.20.5-kcm_keyboard-no-setxkbmap-on-camera.patch deleted file mode 100644 index a2bee27e83d3..000000000000 --- a/kde-plasma/plasma-desktop/files/plasma-desktop-5.20.5-kcm_keyboard-no-setxkbmap-on-camera.patch +++ /dev/null @@ -1,27 +0,0 @@ -From cfdaf8636830df3760bf370d48bd4be890ada709 Mon Sep 17 00:00:00 2001 -From: David Faure <faure@kde.org> -Date: Sun, 31 Jan 2021 12:04:19 +0100 -Subject: [PATCH] kcm_keyboard: Cameras are not keyboards, don't setxkbmap when - plugging a camera - ---- - kcms/keyboard/xinput_helper.cpp | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/kcms/keyboard/xinput_helper.cpp b/kcms/keyboard/xinput_helper.cpp -index 9cae43369..14974ada7 100644 ---- a/kcms/keyboard/xinput_helper.cpp -+++ b/kcms/keyboard/xinput_helper.cpp -@@ -102,7 +102,8 @@ static bool isRealKeyboard(const char* deviceName) - return strstr(deviceName, "Video Bus") == nullptr - && strstr(deviceName, "Sleep Button") == nullptr - && strstr(deviceName, "Power Button") == nullptr -- && strstr(deviceName, "WMI hotkeys") == nullptr; -+ && strstr(deviceName, "WMI hotkeys") == nullptr -+ && strstr(deviceName, "Camera") == nullptr; - } - - int XInputEventNotifier::getNewDeviceEventType(xcb_generic_event_t* event) --- -GitLab - |