Fix handle-acks regression

This was introduced with 96e94c6f32
(Convert RedChannel hierarchy to GObject).
The handle-acks settings was TRUE for CursorChannel and DisplayChannel.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
Frediano Ziglio 2016-10-26 08:45:11 +01:00
parent f96a78fc4b
commit 695dd7c58d
2 changed files with 2 additions and 0 deletions

View File

@ -314,6 +314,7 @@ CursorChannel* cursor_channel_new(RedsState *server, QXLInstance *qxl,
"channel-type", SPICE_CHANNEL_CURSOR,
"migration-flags", 0,
"qxl", qxl,
"handle-acks", TRUE,
NULL);
}

View File

@ -1993,6 +1993,7 @@ DisplayChannel* display_channel_new(RedsState *reds,
"qxl", qxl,
"n-surfaces", n_surfaces,
"video-codecs", video_codecs,
"handle-acks", TRUE,
NULL);
if (display) {
display_channel_set_stream_video(display, stream_video);