libfreerdp-core: tag activated flag to false during re-activation.

This commit is contained in:
Vic Lee 2012-10-08 13:32:41 +08:00
parent 2fe1244d8a
commit b4fae1fc97

View File

@ -24,6 +24,7 @@
#include "update.h" #include "update.h"
#include "surface.h" #include "surface.h"
#include <freerdp/peer.h>
#include <freerdp/codec/bitmap.h> #include <freerdp/codec/bitmap.h>
/* /*
@ -450,6 +451,8 @@ static void update_send_synchronize(rdpContext* context)
static void update_send_desktop_resize(rdpContext* context) static void update_send_desktop_resize(rdpContext* context)
{ {
if (context->peer)
context->peer->activated = false;
rdp_server_reactivate(context->rdp); rdp_server_reactivate(context->rdp);
} }