diff options
author | jsorg71 <jsorg71> | 2004-10-11 02:58:27 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2004-10-11 02:58:27 +0000 |
commit | 330a4ffb9877563a8a95b773cc62f2cb8263723b (patch) | |
tree | aa41ac752c7ba54190ab473021415feac3c7c93b /xrdp/xrdp_orders.c | |
parent | 82eb62e0cc149e1bf69217bff8771fa1a57fd577 (diff) | |
download | xrdp-proprietary-330a4ffb9877563a8a95b773cc62f2cb8263723b.tar.gz xrdp-proprietary-330a4ffb9877563a8a95b773cc62f2cb8263723b.zip |
added early keyboard work and some other fixes
Diffstat (limited to 'xrdp/xrdp_orders.c')
-rw-r--r-- | xrdp/xrdp_orders.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xrdp/xrdp_orders.c b/xrdp/xrdp_orders.c index ab363ec7..c6998252 100644 --- a/xrdp/xrdp_orders.c +++ b/xrdp/xrdp_orders.c @@ -104,6 +104,9 @@ int xrdp_orders_force_send(struct xrdp_orders* self) } /*****************************************************************************/ +/* check if the current order will fix in packet size of 8192, if not */ +/* send what we got and init a new one */ +/* returns error */ int xrdp_orders_check(struct xrdp_orders* self, int max_size) { int size; @@ -127,6 +130,7 @@ int xrdp_orders_check(struct xrdp_orders* self, int max_size) } /*****************************************************************************/ +/* check if rect is the same as the last one sent */ /* returns boolean */ int xrdp_orders_last_bounds(struct xrdp_orders* self, struct xrdp_rect* rect) @@ -140,6 +144,7 @@ int xrdp_orders_last_bounds(struct xrdp_orders* self, } /*****************************************************************************/ +/* check if all coords are withing 256 bytes */ /* returns boolean */ int xrdp_orders_send_delta(struct xrdp_orders* self, int* vals, int count) { |