summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHardening <rdp.effort@gmail.com>2013-08-17 00:30:31 +0200
committerKristian Høgsberg <krh@bitplanet.net>2013-08-21 11:36:27 -0700
commit61a13715bb4024da2836f50390e15e5002844d31 (patch)
tree68a17fdb1b59c1f62468e75beaf3d9d74219aaf3
parente78734740e8d87d3ef297b0b2cb8929c295b9409 (diff)
downloadweston-61a13715bb4024da2836f50390e15e5002844d31.tar.gz
weston-61a13715bb4024da2836f50390e15e5002844d31.tar.bz2
weston-61a13715bb4024da2836f50390e15e5002844d31.zip
set RDP output enabled by default (stable 1.2)
This patch fixes a bug found by Marek Romanowic: the RDP peer output must be enabled by default, or we have to unfocus/focus the RDP client window to have disable/enable output messages sent (and finally receive updates).
-rw-r--r--src/compositor-rdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c
index 33ec77d4..99dc4870 100644
--- a/src/compositor-rdp.c
+++ b/src/compositor-rdp.c
@@ -572,7 +572,7 @@ static void
rdp_peer_context_new(freerdp_peer* client, RdpPeerContext* context)
{
context->item.peer = client;
- context->item.flags = 0;
+ context->item.flags = RDP_PEER_OUTPUT_ENABLED;
context->rfx_context = rfx_context_new();
context->rfx_context->mode = RLGR3;