diff --git a/src/libinput-plugin.c b/src/libinput-plugin.c index 904999a2..5819a954 100644 --- a/src/libinput-plugin.c +++ b/src/libinput-plugin.c @@ -607,6 +607,13 @@ plugin_system_notify_evdev_frame(struct libinput_plugin_system *system, assert(list_empty(&queued_events)); list_chain(&queued_events, &next_events); if (list_empty(&queued_events)) { +#ifdef EVENT_DEBUGGING + if (list_last_entry_by_type(&system->plugins, struct libinput_plugin, link) != plugin) { + log_debug(libinput_device_get_context(device), + "%s: --- empty frame queue - end of events ---\n", + plugin->name); + } +#endif /* No more events to process, stop here */ break; }