plugin: expand the plugin name prefix to 22 chars

That's the longest name we have for our internal plugins so let's make
sure those align nicely for easier debugging.

(cherry picked from commit 537552480d)

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1309>
This commit is contained in:
Peter Hutterer 2025-08-18 11:55:20 +10:00
parent a3696eec91
commit cef5d5f0f1

View file

@ -613,7 +613,7 @@ plugin_system_notify_evdev_frame(struct libinput_plugin_system *system,
}
#ifdef EVENT_DEBUGGING
_autofree_ char *prefix = strdup_printf(
"%7s: plugin %-15s - ",
"%7s: plugin %-22s - ",
libinput_device_get_sysname(event->device),
plugin->name);
print_frame(libinput_device_get_context(device),