From 0f693fe087eef0c4b11b899e5be93f4bee6e0de9 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Thu, 15 Dec 2022 15:09:34 -0700 Subject: [PATCH] kcmkwin/xwayland: add an explanation on top These settings are highly technical, and users are likely to feel completely lost or intimidated when they see them if they're just browsing around. Let's add some text to explain what the heck this is for. --- .../kwinxwayland/package/contents/ui/main.qml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/kcmkwin/kwinxwayland/package/contents/ui/main.qml b/src/kcmkwin/kwinxwayland/package/contents/ui/main.qml index 6601e4336c..41cf7bca1d 100644 --- a/src/kcmkwin/kwinxwayland/package/contents/ui/main.qml +++ b/src/kcmkwin/kwinxwayland/package/contents/ui/main.qml @@ -43,6 +43,19 @@ KCM.SimpleKCM { id: column spacing: Kirigami.Units.smallSpacing + QQC2.Label { + Layout.fillWidth: true + Layout.margins: Kirigami.Units.gridUnit + text: i18n("Legacy X11 apps require the ability to read keystrokes typed in other apps for features that are activated using global keyboard shortcuts. This is disabled by default for security reasons. If you need to use such apps, you can chose your preferred balance of security and functionality here.") + wrapMode: Text.Wrap + } + + Kirigami.Separator { + Layout.fillWidth: true + Layout.leftMargin: Kirigami.Units.gridUnit + Layout.rightMargin: Kirigami.Units.gridUnit + } + Kirigami.FormLayout { id: form