RemoteApp support
authorbjcollins <bcollins@trustedcs.com>
Thu, 15 Oct 2015 19:47:10 +0000 (14:47 -0500)
committerbjcollins <bcollins@trustedcs.com>
Thu, 15 Oct 2015 19:47:10 +0000 (14:47 -0500)
Remove use of WindowRects to affect window shape, the VisibilityRects are used for this purpose.

client/X11/xf_rail.c

index d407cc4..d5e9495 100644 (file)
@@ -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)