Update README to reflect change from defaultPtrAddEvent to rfbDefaultPtrAddEvent

pull/1/head
Timothy Pearson 9 years ago committed by Christian Beier
parent 65106d3962
commit e8f6ddeddf
No known key found for this signature in database
GPG Key ID: 421BB3B45C6067F8

@ -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.

Loading…
Cancel
Save