summaryrefslogtreecommitdiffstats
path: root/xup
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-02-11 02:12:15 +0000
committerjsorg71 <jsorg71>2006-02-11 02:12:15 +0000
commit23b4bb18aef607cc27d0a925d7815a6ea6d1ea34 (patch)
tree602caaa8a250c5f5230312d52ca8f27ae5ec2028 /xup
parentec7498b5f901abcddfba3d3bc608f67e9619bd1c (diff)
downloadxrdp-proprietary-23b4bb18aef607cc27d0a925d7815a6ea6d1ea34.tar.gz
xrdp-proprietary-23b4bb18aef607cc27d0a925d7815a6ea6d1ea34.zip
added cursor function
Diffstat (limited to 'xup')
-rw-r--r--xup/xup.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/xup/xup.c b/xup/xup.c
index 2837f60b..92a5a16c 100644
--- a/xup/xup.c
+++ b/xup/xup.c
@@ -332,6 +332,8 @@ lib_mod_signal(struct mod* mod)
int x2;
int y2;
char* bmpdata;
+ char cur_data[32 * (32 * 3)];
+ char cur_mask[32 * (32 / 8)];
DEBUG(("in lib_mod_signal\r\n"));
make_stream(s);
@@ -420,6 +422,13 @@ lib_mod_signal(struct mod* mod)
in_sint16_le(s, y2);
rv = mod->server_draw_line(mod, x1, y1, x2, y2);
break;
+ case 19:
+ in_sint16_le(s, x);
+ in_sint16_le(s, y);
+ in_uint8a(s, cur_data, 32 * (32 * 3));
+ in_uint8a(s, cur_mask, 32 * (32 / 8));
+ rv = mod->server_set_cursor(mod, x, y, cur_data, cur_mask);
+ break;
default:
rv = 1;
break;