Commit e07338b0 authored by Ondrej Holy's avatar Ondrej Holy

Fix empty screen with recent freerdp versions

With recent freerdp versions, gtk-frdp shows just an empty screen
and prints the following:
[15:33:45:659] [11955:11955] [ERROR][com.freerdp.core.transport]
- transport_check_fds: transport->ReceiveCallback() - -4

This is caused by the wrong return value from frdp_end_paint. Let's
fix that return value to make it work again.

parent cb96c251
......@@ -221,7 +221,7 @@ frdp_end_paint (rdpContext *context)
gint pos_x, pos_y;
if (gdi->primary->hdc->hwnd->invalid->null)
return FALSE;
return TRUE;
x = gdi->primary->hdc->hwnd->invalid->x;
y = gdi->primary->hdc->hwnd->invalid->y;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment