aa6c8f8116
Summary: Each Edge creates a SwipeGesture for touch activation. The swipe needs to be a single finger starting from the edge into the screen for at least 20 %. The SwipeGesture and GestureRecognizer is extended to support the use cases of the touch screen edge swipe. New features supported by the gesture system are: * minimum and maximum position * a minimum delta for the swipe * progress signal based on the minimum delta * starting a swipe with a start point The Edge has the progress signal connected to its approach signal, thus visual feedback is provided through the screen edge effect. The screen edge system supports touch only for the edges (corners are too difficult to activate on touch screens). At the moment the following features are supported: * screen edge show/raise of windows (e.g. auto hidden panels) * trigger the configured action * trigger the configured callback function (e.g. script) In future it might make sense to add a touch specific configuration action to support different actions for screen edges activated by mouse and touch. BUG: 370323 Test Plan: configured a screen edge and triggered through touch, added an auto-hiding panel and triggered through touch Reviewers: #kwin, #plasma_on_wayland Subscribers: plasma-devel Tags: #plasma_on_wayland Differential Revision: https://phabricator.kde.org/D5106 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
edge.cpp | ||
edge.h | ||
glxbackend.cpp | ||
glxbackend.h | ||
logging.cpp | ||
logging.h | ||
screens_xrandr.cpp | ||
screens_xrandr.h | ||
windowselector.cpp | ||
windowselector.h | ||
x11.json | ||
x11_platform.cpp | ||
x11_platform.h | ||
x11cursor.cpp | ||
x11cursor.h | ||
xinputintegration.cpp | ||
xinputintegration.h |