diff options
-rw-r--r-- | libxrdp/xrdp_orders.c | 8 | ||||
-rw-r--r-- | xorg/X11R7.6/rdp/rdpup.c | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/libxrdp/xrdp_orders.c b/libxrdp/xrdp_orders.c index caeef7ff..e7739e3e 100644 --- a/libxrdp/xrdp_orders.c +++ b/libxrdp/xrdp_orders.c @@ -1945,10 +1945,18 @@ xrdp_orders_send_as_rfx(struct xrdp_orders* self, int width, int height, int bpp, int hints) { + if (hints & 1) + { + return 0; + } if (bpp != 24) { return 0; } + if (width * height < 64) + { + return 0; + } return 1; } #endif diff --git a/xorg/X11R7.6/rdp/rdpup.c b/xorg/X11R7.6/rdp/rdpup.c index 1001be90..81165a3a 100644 --- a/xorg/X11R7.6/rdp/rdpup.c +++ b/xorg/X11R7.6/rdp/rdpup.c @@ -1490,7 +1490,7 @@ rdpup_create_window(WindowPtr pWindow, rdpWindowRec* priv) int root_id; char title[256]; - LLOGLN(0, ("rdpup_create_window: id 0x%8.8x", pWindow->drawable.id)); + LLOGLN(10, ("rdpup_create_window: id 0x%8.8x", pWindow->drawable.id)); if (g_connected) { root_id = pWindow->drawable.pScreen->root->drawable.id; @@ -1581,7 +1581,7 @@ rdpup_create_window(WindowPtr pWindow, rdpWindowRec* priv) void rdpup_delete_window(WindowPtr pWindow, rdpWindowRec* priv) { - LLOGLN(0, ("rdpup_delete_window: id 0x%8.8x", pWindow->drawable.id)); + LLOGLN(10, ("rdpup_delete_window: id 0x%8.8x", pWindow->drawable.id)); if (g_connected) { rdpup_pre_check(8); |