From b4fae1fc97c8a64006d4ddc7afcf7a47a3b144c7 Mon Sep 17 00:00:00 2001 From: Vic Lee Date: Mon, 8 Oct 2012 13:32:41 +0800 Subject: [PATCH] libfreerdp-core: tag activated flag to false during re-activation. --- libfreerdp/core/update.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libfreerdp/core/update.c b/libfreerdp/core/update.c index dbfb067ca..f7b6e1825 100644 --- a/libfreerdp/core/update.c +++ b/libfreerdp/core/update.c @@ -24,6 +24,7 @@ #include "update.h" #include "surface.h" +#include #include /* @@ -450,6 +451,8 @@ static void update_send_synchronize(rdpContext* context) static void update_send_desktop_resize(rdpContext* context) { + if (context->peer) + context->peer->activated = false; rdp_server_reactivate(context->rdp); }