[PATCH libinput] tools: prefix debug output with '.' on device changes

Peter Hutterer peter.hutterer at who-t.net
Thu Sep 8 05:58:20 UTC 2016


On Thu, Sep 08, 2016 at 03:55:47PM +1000, Peter Hutterer wrote:
> We print the sysname, but it's not always obvious when there's an event from
> another device within the stream from another device. Prefix it so it's easier
> to spot and search for.
> 
> See https://bugzilla.redhat.com/show_bug.cgi?id=1364850#c3 for an example of
> how such an event can hide.
> 
> We only use last_device for comparing pointer values so we don't need a
> reference to the device, it doesn't matter if the device itself goes out of
> scope.

sorry, last minute change to '-' as prefix, I fixed up the commit msg
locally.

Cheers,
   Peter



More information about the wayland-devel mailing list