diff options
author | jsorg71 <jsorg71> | 2006-02-11 02:12:15 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2006-02-11 02:12:15 +0000 |
commit | 23b4bb18aef607cc27d0a925d7815a6ea6d1ea34 (patch) | |
tree | 602caaa8a250c5f5230312d52ca8f27ae5ec2028 | |
parent | ec7498b5f901abcddfba3d3bc608f67e9619bd1c (diff) | |
download | xrdp-proprietary-23b4bb18aef607cc27d0a925d7815a6ea6d1ea34.tar.gz xrdp-proprietary-23b4bb18aef607cc27d0a925d7815a6ea6d1ea34.zip |
added cursor function
-rw-r--r-- | xup/xup.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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; |