[Spice-devel] [spice-xpi PATCHv2 1/2] Handle USB-related plugin properties
Christophe Fergeau
cfergeau at redhat.com
Wed Apr 4 07:29:47 PDT 2012
Hey Uri,
On Wed, Apr 04, 2012 at 12:33:17PM +0300, Uri Lublin wrote:
> The default is an empty string.
> How does the client behave with such a filter string? Refuse redir
> for all devices ?
That's a good question, thanks for pointing this out.
The good news is that the filter is sent using SendStr which ignores empty
strings:
PluginInstance::SendStr(uint32_t id, std::string str)
{
if (str.empty())
return;
so we'll rely on spice-gtk defaults when the string is empty.
Next question -- which is not really a problem for now since the various
properties are only sent once after the client has started -- is how do we
unset a previously set filter using the controller. I don't think there's
any way to do that currently, but it might be interesting to do at some
point..
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120404/5609c519/attachment.pgp>
More information about the Spice-devel
mailing list