summaryrefslogtreecommitdiff
path: root/units/touchpad
diff options
authorPierre Equoy <pierre.equoy@canonical.com>2022-04-19 10:20:43 +0800
committerPierre Equoy <pierre.equoy@canonical.com>2022-04-19 10:20:43 +0800
commit93ec2bedbb074ef6e20363226d9b8fecf3c34180 (patch)
tree242ae2328265705f3d02b9b5b8680e0f7fc135a2 /units/touchpad
parentb7fb5ad11e2241d3991964d09dc3ea2309865ee6 (diff)
units:touchpad: skip palm-rejection job if not on a laptop
touchpad/palm-rejection should only be run on laptops, and skipped otherwise, like all the other touchpad jobs.
Diffstat (limited to 'units/touchpad')
-rw-r--r--units/touchpad/jobs.pxu1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/touchpad/jobs.pxu b/units/touchpad/jobs.pxu
index 95dfc5b..0a6c52c 100644
--- a/units/touchpad/jobs.pxu
+++ b/units/touchpad/jobs.pxu
@@ -238,6 +238,7 @@ _description:
id: touchpad/palm-rejection
plugin: user-interact
category_id: com.canonical.plainbox::touchpad
+requires: dmi.product in ['Notebook','Laptop','Portable','Convertible']
command: qmlscene -qt5 --fullscreen "$PLAINBOX_PROVIDER_DATA"/palm_rejection.qml 2>&1 | grep -o PASS
_purpose:
This test checks if touchpad ignores palm touches