Gerd Hoffmann <[email protected]> writes:

>> +        if (!(s->handler->mask & (INPUT_EVENT_MASK_REL |
>> +                                  INPUT_EVENT_MASK_ABS))) {
>> +            monitor_printf(mon, "Input device '%s' is not a mouse",
>> +                           s->handler->name);
>
> That should be error_report (I think, Markus?).

Yes, please.  Same for the "Mouse at given index not found\n" message
further down.  Note that error_report() does *not* want \n.

>
> Otherwise the patch is fine.
>
> cheers,
>   Gerd

Reply via email to