From 0d47b467f6640d2cc1757b34807a6b6a7312430a Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Sat, 13 Aug 2022 00:37:51 +0200 Subject: [PATCH] wayland: Fix thinko in paired tablet loop filter This condition is inverted of how it should be. Since pad focus relies on grouped devices lookups (e.g. pads not grouped with a tablet do not focus surfaces), this fixes issues in pad focus and event propagation to wayland clients. Fixes: fff3654941 - wayland: Check input device capabilities in tablet seats Part-of: --- src/wayland/meta-wayland-tablet-seat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/meta-wayland-tablet-seat.c b/src/wayland/meta-wayland-tablet-seat.c index a5d3443c6..c16eddc81 100644 --- a/src/wayland/meta-wayland-tablet-seat.c +++ b/src/wayland/meta-wayland-tablet-seat.c @@ -482,7 +482,7 @@ lookup_grouped_devices (ClutterInputDevice *device, { if (l->data == device) continue; - if ((clutter_input_device_get_capabilities (l->data) & capabilities) == + if ((clutter_input_device_get_capabilities (l->data) & capabilities) != capabilities) continue;