[gtk-frdp/wip/oholy/fix-empty-screen] Fix empty screen with recent freerdp versions
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-frdp/wip/oholy/fix-empty-screen] Fix empty screen with recent freerdp versions
- Date: Wed, 21 Nov 2018 10:32:29 +0000 (UTC)
commit e07338b03479c69213ee06da4d264af94fdbea92
Author: Ondrej Holy <oholy redhat com>
Date: Wed Nov 21 11:15:06 2018 +0100
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.
https://gitlab.gnome.org/GNOME/gnome-boxes/issues/280
src/frdp-session.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/frdp-session.c b/src/frdp-session.c
index b98d130..6843ee2 100644
--- a/src/frdp-session.c
+++ b/src/frdp-session.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]