> +        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?).

Otherwise the patch is fine.

cheers,
  Gerd



Reply via email to