Skip to content

Commit 28be835

Browse files
committed
meta-input-settings-x11.c: Don't warn about receiving more values
than expected from libinput. libinput supports custom pointer acceleration now, and will return additional values, which, for now, can be ignored. ref: https://gitlab.freedesktop.org/xorg/driver/xf86-input-libinput/-/commit/f94a8edb0edcca8af53b3994d23735df6a5974f1
1 parent 80b48e9 commit 28be835

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/backends/x11/meta-input-settings-x11.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,6 @@ get_property (ClutterInputDevice *device,
126126

127127
if (rc == Success && type_ret == type && format_ret == format && nitems_ret >= nitems)
128128
{
129-
if (nitems_ret > nitems)
130-
g_warning ("Property '%s' for device '%s' returned %lu items, expected %lu",
131-
property, clutter_input_device_get_device_name (device), nitems_ret, nitems);
132129
return data_ret;
133130
}
134131

0 commit comments

Comments
 (0)