From 4fb78a415c1fd6059ec7457497d77cec2cc27fe3 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Fri, 18 Feb 2022 09:33:45 -0700 Subject: [PATCH] kcmkwin/kwinscreenedges: only show KCM on Wayland The features that this KCM lets you trigger barely work on X11 and really only work properly on Wayland. Unfortunately we don't have the ability to have separate settings between X11 and Wayland, and for this reason we removed a default left touch edge in 3df7985570c748cc47362de9bbae0eb580f8f839 a year and a half ago because it was too buggy on X11. This commit takes the next step and hides the KCM entirely on X11, so you can only use it on Wayland where it actually works properly. One potential downside is be that any users who are actually using it on X11 will lose the ability to use a GUI to configure these features unless they go to the Wayland session to do it. However the number of such users is likely small given how the feature does not really work on X11. However the upside is that Wayland users who can see the KCM can actually use the features that it lets you configure because they work properly there. --- src/kcmkwin/kwinscreenedges/kwintouchscreen.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kcmkwin/kwinscreenedges/kwintouchscreen.desktop b/src/kcmkwin/kwinscreenedges/kwintouchscreen.desktop index 6cd0afa7ce..abdbd9eb38 100644 --- a/src/kcmkwin/kwinscreenedges/kwintouchscreen.desktop +++ b/src/kcmkwin/kwinscreenedges/kwintouchscreen.desktop @@ -4,7 +4,7 @@ Type=Application NoDisplay=true Exec=systemsettings kcm_kwintouchscreen X-KDE-ParentApp=kcontrol - +X-KDE-OnlyShowOnQtPlatforms=wayland Name=Touch Screen Name[ar]=شاشة اللمس Name[ast]=Pantalla táctil