diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-01-10 22:52:02 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-01-10 22:52:02 -0600 |
commit | 88c12b1f2f44875fc1c5cf49259299d9befa536d (patch) | |
tree | d5f2f96ccde8e3a887c0afea115e9d6e545277cf | |
parent | 396a3464b94760feb37c3cb173646a581281fd01 (diff) | |
download | libvncserver-88c12b1f2f44875fc1c5cf49259299d9befa536d.zip libvncserver-88c12b1f2f44875fc1c5cf49259299d9befa536d.tar.gz |
Update README to reflect change from defaultPtrAddEvent to rfbDefaultPtrAddEvent
-rw-r--r-- | README | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -116,7 +116,7 @@ drawn the cursor everytime 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. @@ -182,7 +182,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. |