From 0a24f12281a1dfc9001402f4584c896f8e7a1509 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Mon, 16 Sep 2024 10:47:39 +0200 Subject: [PATCH] [client,X11] update window style * if WINDOW_ORDER_STATE_NEW is not set also update --- client/X11/xf_rail.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/X11/xf_rail.c b/client/X11/xf_rail.c index 6165d4332..049164524 100644 --- a/client/X11/xf_rail.c +++ b/client/X11/xf_rail.c @@ -580,6 +580,9 @@ static BOOL xf_rail_window_common(rdpContext* context, const WINDOW_ORDER_INFO* } } + if ((fieldFlags & WINDOW_ORDER_STATE_NEW) == 0) + xf_SetWindowStyle(xfc, appWindow, appWindow->dwStyle, appWindow->dwExStyle); + /* We should only be using the visibility rects for shaping the window */ /*if (fieldFlags & WINDOW_ORDER_FIELD_WND_RECTS) {