[Spice-devel] [patch 0/3] X11 UTF8 input channel extension v3

dietmar at proxmox.com dietmar at proxmox.com
Wed Oct 16 13:04:13 CEST 2013


This version sends utf8 characters instead of keysyms.

I tried to include all suggestion from Marc.

Description:

The SPICE input channel currently only sends scancodes. Thus the
server does not know what character was pressed (server does not know
the client keymap).

But some SPICE applications want to use the keymap from the client
side, and work directly with UTF input characters (for example the
'spiceterm' terminal emulator). The current scancode values cannot be
used for such applications.

Changelog for v3:

* use utf8 instead of scancodes

* removed vdagent related patches (added as demo in v2)

* only set SPICE_INPUTS_CAP_KEY_UTF8 if server implements the callback

Changelog for v2:

* fix compiler warnings

* add code to directly forward keysmys to vdagent, which then
  tries to inject keysyms into X11.



More information about the Spice-devel mailing list