Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRDP/FreeRDP-old.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'X11/xf_win.c')
-rw-r--r--X11/xf_win.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/X11/xf_win.c b/X11/xf_win.c
index 712a755..3f6accf 100644
--- a/X11/xf_win.c
+++ b/X11/xf_win.c
@@ -787,6 +787,14 @@ l_ui_reset_clip(struct rdp_inst * inst)
static void
l_ui_resize_window(struct rdp_inst * inst)
{
+ xfInfo * xfi = GET_XFI(inst);
+
+ if (xfi->settings->software_gdi == 1)
+ {
+ gdi_free(inst);
+ gdi_init(inst, CLRCONV_ALPHA | CLRBUF_32BPP);
+ }
+
printf("ui_resize_window:\n");
}