summaryrefslogtreecommitdiffstats
path: root/libvncclient/cursor.c
diff options
context:
space:
mode:
authorrunge <runge>2007-01-31 15:29:12 +0000
committerrunge <runge>2007-01-31 15:29:12 +0000
commit1f8da9bde3b7de272228872410143f076662ae13 (patch)
treeb17994299e96318ecd147f052a42eddffa1e9ca9 /libvncclient/cursor.c
parentb66c944fe30d9bd120c29f28f23336623777eee8 (diff)
downloadlibtdevnc-1f8da9bde3b7de272228872410143f076662ae13.tar.gz
libtdevnc-1f8da9bde3b7de272228872410143f076662ae13.zip
libvncclient: add GotCursorShape() and GotCopyRect(); x11vnc dep on libvncclient
Diffstat (limited to 'libvncclient/cursor.c')
-rw-r--r--libvncclient/cursor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvncclient/cursor.c b/libvncclient/cursor.c
index 9c8463d..a48d7c5 100644
--- a/libvncclient/cursor.c
+++ b/libvncclient/cursor.c
@@ -167,6 +167,10 @@ rfbBool HandleCursorShape(rfbClient* client,int xhot, int yhot, int width, int h
}
}
+ if (client->GotCursorShape != NULL) {
+ client->GotCursorShape(client, xhot, yhot, width, height, bytesPerPixel);
+ }
+
free(buf);
return TRUE;