[Spice-devel] [RFC PATCH spice-common v2 02/20] A version 2 of the MousePosition message

Gerd Hoffmann kraxel at redhat.com
Mon Aug 27 12:33:23 UTC 2018


  Hi,

> +typedef struct SpiceMsgcMousePositionV2 {
> +    uint32_t x;
> +    uint32_t y;
> +    uint32_t buttons_state;
> +    uint32_t channel_id;
> +    uint32_t monitor_id;
> +} SpiceMsgcMousePositionV2;

When touching the mouse messages anyway I'd suggest to design it more
like the linux input layer events (or qemu input subsystem, which was
inspiried by the linux input layer too).

cheers,
  Gerd



More information about the Spice-devel mailing list