summaryrefslogtreecommitdiffstats
path: root/vnc
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-02-20 06:06:26 +0000
committerjsorg71 <jsorg71>2005-02-20 06:06:26 +0000
commit8defc32e27572d358de084c7a8de88fe248da84d (patch)
tree7ea29feafba79d32689f85e81691148925605e5a /vnc
parent2999a3c8313d3fcb64413d827c1380890533c451 (diff)
downloadxrdp-proprietary-8defc32e27572d358de084c7a8de88fe248da84d.tar.gz
xrdp-proprietary-8defc32e27572d358de084c7a8de88fe248da84d.zip
readability and 64 bit changes
Diffstat (limited to 'vnc')
-rw-r--r--vnc/vnc.c9
-rw-r--r--vnc/vnc.h1
2 files changed, 10 insertions, 0 deletions
diff --git a/vnc/vnc.c b/vnc/vnc.c
index 63dbfdb8..caaed648 100644
--- a/vnc/vnc.c
+++ b/vnc/vnc.c
@@ -452,6 +452,15 @@ int lib_framebuffer_update(struct vnc* v)
}
}
}
+ /* keep these in 32x32, vnc cursor can be alot bigger */
+ if (x > 31)
+ {
+ x = 31;
+ }
+ if (y > 31)
+ {
+ y = 31;
+ }
error = v->server_set_cursor(v, x, y, cursor_data, cursor_mask);
}
}
diff --git a/vnc/vnc.h b/vnc/vnc.h
index 9462ec61..c45ee7be 100644
--- a/vnc/vnc.h
+++ b/vnc/vnc.h
@@ -49,6 +49,7 @@ struct vnc
int (*server_set_cursor)(struct vnc* v, int x, int y, char* data, char* mask);
int (*server_palette)(struct vnc* v, int* palette);
int (*server_error_popup)(struct vnc* v, char* error, char* caption);
+ int (*server_is_term)(struct vnc* v);
/* common */
long handle; /* pointer to self as int */
long wm;