[Spice-devel] [patch 2/2] send KEYVAL messages if agent has VD_AGENT_CAP_KEYVAL

Dietmar Maurer dietmar at proxmox.com
Thu Oct 10 06:40:41 CEST 2013


> > I want to get key repetition message here!
> 
> Can you be more precise? As you can read in spice-gtk code, send_key() is still
> doing some filtering of gtk key events, not directly sending them as Spice events:

I miss-understood that code, but now I can see how it works.

> send_key() synthesize DOWN|UP messages (as a scancode chunk), so server
> receives an atomically DOWN|UP event, to avoid spurious key repeatition due
> to network delay between messages.

OK, will modify my patch.


More information about the Spice-devel mailing list