Re: [Spice-devel] [spice-gtk] Ensure '\0' is not part of text clipboard data

2014-08-12 Thread Marc-André Lureau
ack - Original Message - > On Windows, with some versions of gtk+, GtkSelectionData::length > will include the final '\0'. > When a string with this trailing '\0' is pasted in some linux > applications, it will be pasted as or as an invisible character, > which is unwanted. > > This comm

[Spice-devel] [spice-gtk] Ensure '\0' is not part of text clipboard data

2014-08-12 Thread Christophe Fergeau
On Windows, with some versions of gtk+, GtkSelectionData::length will include the final '\0'. When a string with this trailing '\0' is pasted in some linux applications, it will be pasted as or as an invisible character, which is unwanted. This commit ensures the length we send to the agent does