[Spice-devel] [spice-server 2/3] Don't set RedChannelClient::monitor-latency to FALSE

Christophe Fergeau cfergeau at redhat.com
Thu Mar 30 16:40:14 UTC 2017


This is the default value, and the property is marked as
_CONSTRUCT_ONLY, so we don't need to explicitly force the default when
instantiating a RedChannelClient.

Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>
---
 server/cursor-channel-client.c | 1 -
 server/spicevmc.c              | 1 -
 2 files changed, 2 deletions(-)

diff --git a/server/cursor-channel-client.c b/server/cursor-channel-client.c
index db74bde..bbb0588 100644
--- a/server/cursor-channel-client.c
+++ b/server/cursor-channel-client.c
@@ -102,7 +102,6 @@ CursorChannelClient* cursor_channel_client_new(CursorChannel *cursor, RedClient
                          "channel", cursor,
                          "client", client,
                          "stream", stream,
-                         "monitor-latency", FALSE,
                          "caps", caps,
                          NULL);
     common_graphics_channel_set_during_target_migrate(COMMON_GRAPHICS_CHANNEL(cursor), mig_target);
diff --git a/server/spicevmc.c b/server/spicevmc.c
index 623e34f..83f4a76 100644
--- a/server/spicevmc.c
+++ b/server/spicevmc.c
@@ -1014,7 +1014,6 @@ vmc_channel_client_create(RedChannel *channel, RedClient *client,
                          "channel", channel,
                          "client", client,
                          "stream", stream,
-                         "monitor-latency", FALSE,
                          "caps", caps,
                          NULL);
 
-- 
2.9.3



More information about the Spice-devel mailing list