[RDP compositor] peer's output is enabled at connexion The peer's flags were badly set when the peer had just connect, this patch sets the output as enable at connection.

Hardening rdp.effort at gmail.com
Sat Aug 10 13:53:01 PDT 2013


---
 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 191d673..4d369cc 100644
--- a/src/compositor-rdp.c
+++ b/src/compositor-rdp.c
@@ -571,7 +571,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