summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-01-10 22:52:02 -0600
committerChristian Beier <dontmind@freeshell.org>2016-11-25 22:06:33 +0100
commite8f6ddeddf7992560811e06b4fa3fb58ea172e17 (patch)
tree9f252bb823b89d7fd523c53183a9873d6157fc3a
parent65106d39627499ace4f1ed8701d3ab6c7f97f56f (diff)
downloadlibtdevnc-e8f6dded.tar.gz
libtdevnc-e8f6dded.zip
Update README to reflect change from defaultPtrAddEvent to rfbDefaultPtrAddEvent
-rw-r--r--README4
1 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index 6eba860..43c574a 100644
--- a/README
+++ b/README
@@ -118,7 +118,7 @@ drawn the cursor every time an update is sent. LibVNCServer handles
all the details. Just set the cursor and don't bother any more.
To set the mouse coordinates (or emulate mouse clicks), call
- defaultPtrAddEvent(buttonMask,x,y,cl);
+ rfbDefaultPtrAddEvent(buttonMask,x,y,cl);
IMPORTANT: do this at the end of your function, because this actually draws
the cursor if no cursor encoding is active.
@@ -184,7 +184,7 @@ kbdReleaseAllKeys(rfbClientPtr cl)
ptrAddEvent(int buttonMask,int x,int y,rfbClientPtr cl)
is called when the mouse moves or a button is pressed.
WARNING: if you want to have proper cursor handling, call
- defaultPtrAddEvent(buttonMask,x,y,cl)
+ rfbDefaultPtrAddEvent(buttonMask,x,y,cl)
in your own function. This sets the coordinates of the cursor.
setXCutText(char* str,int len,rfbClientPtr cl)
is called when the selection changes.