summaryrefslogtreecommitdiff
path: root/server/main-channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/main-channel.c')
-rw-r--r--server/main-channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/main-channel.c b/server/main-channel.c
index 1f4fcaa7..aa2b03ca 100644
--- a/server/main-channel.c
+++ b/server/main-channel.c
@@ -545,7 +545,7 @@ static void main_channel_marshall_init(RedChannelClient *rcc,
if (item->is_client_mouse_allowed) {
init.supported_mouse_modes |= SPICE_MOUSE_MODE_CLIENT;
}
- init.agent_connected = reds_has_vdagent();
+ init.agent_connected = reds_has_vdagent(reds);
init.agent_tokens = REDS_AGENT_WINDOW_SIZE;
init.multi_media_time = item->multi_media_time;
init.ram_hint = item->ram_hint;