From 330a4ffb9877563a8a95b773cc62f2cb8263723b Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Mon, 11 Oct 2004 02:58:27 +0000 Subject: added early keyboard work and some other fixes --- xrdp/xrdp_orders.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xrdp/xrdp_orders.c') 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) { -- cgit v1.2.1