[plasma/kwin/Plasma/6.7] src/kcms/xwayland: kcms/xwayland: Add missing default indicator

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit ebe82fab83eed6c9211067d77bdc478f1c8c195d by Vlad Zahorodnii.
Committed on 03/08/2026 at 11:31.
Pushed by vladz into branch 'Plasma/6.7'.

kcms/xwayland: Add missing default indicator

Add a default indicator to the "Control of pointer and keyboard" setting


(cherry picked from commit 196a72dd3878b4419c47b669b1eafd6a4d84a68c)

Co-authored-by: Tobias Ozór <[email protected]>

M  +1    -1    src/kcms/xwayland/kwinxwaylandsettings.kcfg
M  +8    -0    src/kcms/xwayland/ui/main.qml

https://invent.kde.org/plasma/kwin/-/commit/ebe82fab83eed6c9211067d77bdc478f1c8c195d

diff --git a/src/kcms/xwayland/kwinxwaylandsettings.kcfg b/src/kcms/xwayland/kwinxwaylandsettings.kcfg
index 9301291e857..96ad33ded1b 100644
--- a/src/kcms/xwayland/kwinxwaylandsettings.kcfg
+++ b/src/kcms/xwayland/kwinxwaylandsettings.kcfg
@@ -17,7 +17,7 @@
         <entry name="xwaylandEavesdropsMouse" key="XwaylandEavesdropsMouse" type="Bool">
             <default>false</default>
         </entry>
-        <entry name="XwaylandEisNoPrompt" type="Bool">
+        <entry name="xwaylandEisNoPrompt" key="XwaylandEisNoPrompt" type="Bool">
             <default>false</default>
         </entry>
         <entry name="XwaylandEisNoPromptApps" type="StringList" />
diff --git a/src/kcms/xwayland/ui/main.qml b/src/kcms/xwayland/ui/main.qml
index 294813ecbf0..20bf341197d 100644
--- a/src/kcms/xwayland/ui/main.qml
+++ b/src/kcms/xwayland/ui/main.qml
@@ -147,6 +147,10 @@ KCM.SimpleKCM {
                             QQC2.ButtonGroup.group: xwaylandGroup
                             checked: !kcm.settings.xwaylandEisNoPrompt
                             onToggled: kcm.settings.xwaylandEisNoPrompt = !checked
+                            KCM.SettingStateBinding {
+                                configObject: kcm.settings
+                                settingName: "xwaylandEisNoPrompt"
+                            }
                         }
                         QQC2.Button {
                             text: i18nc("@action:button", "See Allowed Applications…")
@@ -170,6 +174,10 @@ KCM.SimpleKCM {
                         QQC2.ButtonGroup.group: xwaylandGroup
                         checked: kcm.settings.xwaylandEisNoPrompt
                         onToggled: kcm.settings.xwaylandEisNoPrompt = checked
+                        KCM.SettingStateBinding {
+                            configObject: kcm.settings
+                            settingName: "xwaylandEisNoPrompt"
+                        }
                     }
                     subtitle: i18nc("@info:usagetip", "Least secure; all X11 apps will be able to take control of the computer")
                 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.