summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authordscho <dscho>2001-09-27 15:42:54 +0000
committerdscho <dscho>2001-09-27 15:42:54 +0000
commit11d64787ee113b4767d0f2e96e8b2ded6999064e (patch)
tree64e26faf7d0316e840ce8bbbcf63892d42be86a5 /main.c
parent080ad356d38dcb2acf3cdc4e1c30b9ee12251ba0 (diff)
downloadlibtdevnc-11d64787ee113b4767d0f2e96e8b2ded6999064e.tar.gz
libtdevnc-11d64787ee113b4767d0f2e96e8b2ded6999064e.zip
added setTranslateFunction as member of rfbScreenInfo,
cursor may be NULL (no cursor).
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index ee97164..046909b 100644
--- a/main.c
+++ b/main.c
@@ -415,6 +415,7 @@ rfbScreenInfoPtr rfbGetScreen(int argc,char** argv,
rfbScreen->setXCutText = defaultSetXCutText;
rfbScreen->getCursorPtr = defaultGetCursorPtr;
rfbScreen->cursor = &myCursor;
+ rfbScreen->setTranslateFunction = rfbSetTranslateFunction;
rfbScreen->newClientHook = doNothingWithClient;
/* initialize client list and iterator mutex */