Commit 3df79855 authored by Nate Graham's avatar Nate Graham 🔩

[kcmkwin/kwinscreenedges] Disable left touch edge by default

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
parent 3acb1a78
......@@ -47,7 +47,7 @@
</group>
<group name="TabBox">
<entry name="TouchBorderActivateTabBox" key="TouchBorderActivate" type="IntList">
<default>ElectricLeft</default>
<default>ElectricNone</default>
</entry>
<entry key="TouchBorderAlternativeActivate" type="IntList">
<default>ElectricNone</default>
......
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment