screenedge: Increase touch border from 3px to 8px

We are currently using the touch border to activate the task switcher, but it's almost impossible to activate on a phone screen. We used to use 8px (invisible panel) when the task switcher was implemented in plasmashell, I think that can work here.
This commit is contained in:
Devin Lin 2024-07-16 22:37:32 -04:00
parent 6943fab2c1
commit b87096cb27

View file

@ -61,7 +61,7 @@ namespace KWin
static const int DISTANCE_RESET = 30; static const int DISTANCE_RESET = 30;
// How large the touch target of the area recognizing touch gestures is // How large the touch target of the area recognizing touch gestures is
static const int TOUCH_TARGET = 3; static const int TOUCH_TARGET = 8;
// How far the user needs to swipe before triggering an action. // How far the user needs to swipe before triggering an action.
static const int MINIMUM_DELTA = 44; static const int MINIMUM_DELTA = 44;