summaryrefslogtreecommitdiffstats
path: root/x11vnc/cursor.c
diff options
context:
space:
mode:
authorrunge <runge>2006-12-28 05:24:25 +0000
committerrunge <runge>2006-12-28 05:24:25 +0000
commit56eb45a5f8ab93abb1e15d4c0b8214d06a3d6d18 (patch)
tree34da978baeba2c625611bcaaf8cba8571ab00f8b /x11vnc/cursor.c
parent8aa6fb9523957c7f4a3f14fb2c90ea9f9292a41f (diff)
downloadlibvncserver-56eb45a5f8ab93abb1e15d4c0b8214d06a3d6d18.zip
libvncserver-56eb45a5f8ab93abb1e15d4c0b8214d06a3d6d18.tar.gz
x11vnc: more work on -ncache.
Diffstat (limited to 'x11vnc/cursor.c')
-rw-r--r--x11vnc/cursor.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11vnc/cursor.c b/x11vnc/cursor.c
index ded74ca..0f3b2c6 100644
--- a/x11vnc/cursor.c
+++ b/x11vnc/cursor.c
@@ -1705,6 +1705,24 @@ int cursor_shape_updates_clients(rfbScreenInfoPtr s) {
return count;
}
+int cursor_noshape_updates_clients(rfbScreenInfoPtr s) {
+ rfbClientIteratorPtr iter;
+ rfbClientPtr cl;
+ int count = 0;
+
+ if (! s) {
+ return 0;
+ }
+ iter = rfbGetClientIterator(s);
+ while( (cl = rfbClientIteratorNext(iter)) ) {
+ if (!cl->enableCursorShapeUpdates) {
+ count++;
+ }
+ }
+ rfbReleaseClientIterator(iter);
+ return count;
+}
+
int cursor_pos_updates_clients(rfbScreenInfoPtr s) {
rfbClientIteratorPtr iter;
rfbClientPtr cl;
OpenPOWER on IntegriCloud