From 65daae0190149ff9b3219c98f87e91857b56812f Mon Sep 17 00:00:00 2001 From: Michael Meyer Date: Thu, 17 Aug 2017 17:32:26 -0400 Subject: [PATCH] wlfreerdp: improve performance by making the window opaque --- client/Wayland/wlfreerdp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/Wayland/wlfreerdp.c b/client/Wayland/wlfreerdp.c index 4dccc37e9..4dbd9a12d 100644 --- a/client/Wayland/wlfreerdp.c +++ b/client/Wayland/wlfreerdp.c @@ -176,6 +176,7 @@ static BOOL wl_post_connect(freerdp* instance) UwacWindowSetFullscreenState(window, NULL, instance->context->settings->Fullscreen); UwacWindowSetTitle(window, "FreeRDP"); + UwacWindowSetOpaqueRegion(context->window, 0, 0, gdi->width, gdi->height); instance->update->BeginPaint = wl_begin_paint; instance->update->EndPaint = wl_end_paint; memcpy(UwacWindowGetDrawingBuffer(context->window), gdi->primary_buffer,