diff options
| author | Jim Grandy <jgrandy@authentic8.com> | 2013-07-03 10:45:46 -0700 |
|---|---|---|
| committer | Jim Grandy <jgrandy@authentic8.com> | 2013-08-22 12:49:41 -0700 |
| commit | 1ae9a7f2b685a8c2bf052e7c1724811346189fb9 (patch) | |
| tree | 6bc1e24c8b2b196206d8ddd46db00514dde7cb85 /libxrdp/xrdp_orders.c | |
| parent | a32669f3ef8752d952c9d31f55a667581ae93007 (diff) | |
| download | xrdp-proprietary-1ae9a7f2b685a8c2bf052e7c1724811346189fb9.tar.gz xrdp-proprietary-1ae9a7f2b685a8c2bf052e7c1724811346189fb9.zip | |
Hand-apply patches (drawing configuration) from Authentic8 branch: 34b92df f994298 38e2def
Diffstat (limited to 'libxrdp/xrdp_orders.c')
| -rw-r--r-- | libxrdp/xrdp_orders.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libxrdp/xrdp_orders.c b/libxrdp/xrdp_orders.c index 29234173..17e674af 100644 --- a/libxrdp/xrdp_orders.c +++ b/libxrdp/xrdp_orders.c @@ -47,6 +47,11 @@ xrdp_orders_create(struct xrdp_session *session, struct xrdp_rdp *rdp_layer) init_stream(self->out_s, 16384); self->orders_state.clip_right = 1; /* silly rdp right clip */ self->orders_state.clip_bottom = 1; /* silly rdp bottom clip */ + self->rfx_min_pixel = rdp_layer->client_info.rfx_min_pixel; + if (self->rfx_min_pixel == 0) + { + self->rfx_min_pixel = 64 * 32; + } return self; } @@ -2246,7 +2251,9 @@ xrdp_orders_send_as_rfx(struct xrdp_orders *self, return 0; } - if (width * height < 64) + LLOGLN(10, ("width %d height %d rfx_min_pixel %d", width, height, + self->rfx_min_pixel)); + if (width * height < self->rfx_min_pixel) { return 0; } |
