summaryrefslogtreecommitdiffstats
path: root/rfb.h
diff options
context:
space:
mode:
Diffstat (limited to 'rfb.h')
-rw-r--r--rfb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rfb.h b/rfb.h
index 2864adf..8842de4 100644
--- a/rfb.h
+++ b/rfb.h
@@ -599,6 +599,9 @@ typedef struct rfbCursor {
unsigned short foreRed, foreGreen, foreBlue; /* device-independent color */
unsigned short backRed, backGreen, backBlue; /* device-independent color */
unsigned char *richSource; /* source bytes for a rich cursor */
+#ifdef HAVE_PTHREADS
+ pthread_mutex_t mutex;
+#endif
} rfbCursor, *rfbCursorPtr;
extern Bool rfbSendCursorShape(rfbClientPtr cl/*, rfbScreenInfoPtr pScreen*/);