From d1a8119dac13702bfba92aaab39f5f6c7e3b631f Mon Sep 17 00:00:00 2001 From: bjcollins Date: Thu, 15 Oct 2015 14:47:10 -0500 Subject: [PATCH] RemoteApp support Remove use of WindowRects to affect window shape, the VisibilityRects are used for this purpose. --- client/X11/xf_rail.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/X11/xf_rail.c b/client/X11/xf_rail.c index d407cc4..d5e9495 100644 --- a/client/X11/xf_rail.c +++ b/client/X11/xf_rail.c @@ -506,7 +506,8 @@ static BOOL xf_rail_window_common(rdpContext* context, WINDOW_ORDER_INFO* orderI if (fieldFlags & WINDOW_ORDER_FIELD_WND_RECTS) { - xf_SetWindowRects(xfc, appWindow, appWindow->windowRects, appWindow->numWindowRects); + /* We should only be using the visibility rects for shaping the window */ + //xf_SetWindowRects(xfc, appWindow, appWindow->windowRects, appWindow->numWindowRects); } if (fieldFlags & WINDOW_ORDER_FIELD_VISIBILITY) -- 2.7.4