Continue processing all other window orders for new remote app windows instead
authorbjcollins <bcollins@trustedcs.com>
Thu, 15 Oct 2015 19:35:07 +0000 (14:35 -0500)
committerbjcollins <bcollins@trustedcs.com>
Thu, 15 Oct 2015 19:35:07 +0000 (14:35 -0500)
of existing after only looking at part of the information. For instance, window visibility
rects are part of the message with the new order and were being ignored.

client/X11/xf_rail.c

index a4617a2..d407cc4 100644 (file)
@@ -299,6 +299,7 @@ static BOOL xf_rail_window_common(rdpContext* context, WINDOW_ORDER_INFO* orderI
                appWindow->localWindowOffsetCorrX = 0;
                appWindow->localWindowOffsetCorrY = 0;
 
+               /* Ensure window always gets a window title */
                if (fieldFlags & WINDOW_ORDER_FIELD_TITLE)
                {
                        char* title = NULL;
@@ -321,8 +322,6 @@ static BOOL xf_rail_window_common(rdpContext* context, WINDOW_ORDER_INFO* orderI
                HashTable_Add(xfc->railWindows, (void*) (UINT_PTR) orderInfo->windowId, (void*) appWindow);
 
                xf_AppWindowInit(xfc, appWindow);
-
-               return TRUE;
        }
        else
        {