[RDP compositor] set RDP output enabled by default (stable 1.2)

Hardening rdp.effort at gmail.com
Fri Aug 16 15:30:31 PDT 2013


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).
---
 src/compositor-rdp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c
index 33ec77d..99dc487 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;
-- 
1.8.1.2



More information about the wayland-devel mailing list