From: Nate Graham Date: Wed, 18 Nov 2020 18:11:36 +0000 (-0700) Subject: Disable left touch edge by default X-Git-Tag: archive/raspbian/4%5.26.90-1+rpi1~1^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=882e204500b62c29c339055f787073f8f578903a;p=kwin.git Disable left touch edge by default Origin: upstream, https://invent.kde.org/plasma/kwin/commit/3df7985570c748cc47362de9bbae0eb580f8f839 On X11, it creates a dead pixel on the left edge which interferes with left panels, the left-nost widget on bottom and top panels, and scroll events on the left-most pixel in various apps. It works properly on Wayland, but unfortunately turning it off by default only on X11 but not Wayland is not easily doable. So let's turn it off by default everywhere. BUG: 387775 FIXED-IN: 5.21 Gbp-Pq: Name fix-left-edge-dead-pixel.patch --- diff --git a/kcmkwin/kwinscreenedges/kwintouchscreensettings.kcfg b/kcmkwin/kwinscreenedges/kwintouchscreensettings.kcfg index 49a253e..feca5cb 100644 --- a/kcmkwin/kwinscreenedges/kwintouchscreensettings.kcfg +++ b/kcmkwin/kwinscreenedges/kwintouchscreensettings.kcfg @@ -47,7 +47,7 @@ - ElectricLeft + ElectricNone ElectricNone diff --git a/tabbox/tabbox.cpp b/tabbox/tabbox.cpp index 5d54f02..9bbb8d0 100644 --- a/tabbox/tabbox.cpp +++ b/tabbox/tabbox.cpp @@ -782,7 +782,7 @@ void TabBox::reconfigure() actions.insert(ElectricBorder(i), a); } }; - touchConfig(QStringLiteral("TouchBorderActivate"), m_touchActivate, TabBoxWindowsMode, QStringList{QString::number(int(ElectricLeft))}); + touchConfig(QStringLiteral("TouchBorderActivate"), m_touchActivate, TabBoxWindowsMode); touchConfig(QStringLiteral("TouchBorderAlternativeActivate"), m_touchAlternativeActivate, TabBoxWindowsAlternativeMode); }