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

dietmar at proxmox.com dietmar at proxmox.com
Wed Oct 23 09:46:07 CEST 2013


minor fix (see Changelog for v4)

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 v4:

* increment SPICE_INTERFACE_KEYBOARD_MINOR as suggested by Alon

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