[Spice-devel] [spice] Enable mm_time adjustments on startup

Francois Gouget fgouget at codeweavers.com
Wed Apr 10 09:25:17 UTC 2019


We send mm_time adjustments to the client whenever there is no audio
playback. There is no audio playback on startup. Therefore
mm_time_enabled must be true on startup. QED.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 server/reds.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/reds.c b/server/reds.c
index 28542bd09..647039119 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -3590,6 +3590,7 @@ static int do_spice_init(RedsState *reds, SpiceCoreInterface *core_interface)
     reds->inputs_channel = inputs_channel_new(reds);
 
     reds->mouse_mode = SPICE_MOUSE_MODE_SERVER;
+    reds->mm_time_enabled = TRUE;
 
     spice_buffer_free(&reds->client_monitors_config);
 
-- 
2.20.1



More information about the Spice-devel mailing list