mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
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: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2573>
This commit is contained in:
parent
aa7653bed7
commit
0d47b467f6
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user