diff options
author | metalefty <meta@vmeta.jp> | 2016-12-20 17:00:48 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-20 17:00:48 +0900 |
commit | 25e5243ecf9d0e17ca6fd0b71629f9dcab26dd5c (patch) | |
tree | 12335f9f2a7d1ac8cfe15c716451971b9cd6788f /xrdp/xrdp_bitmap.c | |
parent | a11af2bc95cc25a6e394f94640543cca494f3e27 (diff) | |
parent | 041df0911b428851f6146817fc70aa05029b15ba (diff) | |
download | xrdp-proprietary-25e5243ecf9d0e17ca6fd0b71629f9dcab26dd5c.tar.gz xrdp-proprietary-25e5243ecf9d0e17ca6fd0b71629f9dcab26dd5c.zip |
Merge pull request #553 from jsorg71/libpainter
add libpainter for drawing when client does not have minimum orders
Diffstat (limited to 'xrdp/xrdp_bitmap.c')
-rw-r--r-- | xrdp/xrdp_bitmap.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xrdp/xrdp_bitmap.c b/xrdp/xrdp_bitmap.c index 053be88b..deb56a2c 100644 --- a/xrdp/xrdp_bitmap.c +++ b/xrdp/xrdp_bitmap.c @@ -123,6 +123,14 @@ xrdp_bitmap_create(int width, int height, int bpp, self->data = (char *)g_malloc(width * height * Bpp, 0); } +#if defined(XRDP_PAINTER) + if (self->type == WND_TYPE_SCREEN) /* noorders */ + { + LLOGLN(0, ("xrdp_bitmap_create: noorders")); + self->data = (char *) g_malloc(width * height * Bpp, 0); + } +#endif + if (self->type != WND_TYPE_BITMAP) { self->child_list = list_create(); |