diff options
author | runge <runge> | 2007-01-31 15:41:42 +0000 |
---|---|---|
committer | runge <runge> | 2007-01-31 15:41:42 +0000 |
commit | 1b9082bc8739e5ab186092ca1dcff1736eb91c0e (patch) | |
tree | 9d2a267bcbba93aed87634838c9ac10f36363210 /x11vnc/xevents.c | |
parent | 1f8da9bde3b7de272228872410143f076662ae13 (diff) | |
download | libtdevnc-1b9082bc8739e5ab186092ca1dcff1736eb91c0e.tar.gz libtdevnc-1b9082bc8739e5ab186092ca1dcff1736eb91c0e.zip |
x11vnc: -reflect, -N. -ncache, FINDDISPLAY, FINDCREATEDISPLAY, improvements. MODTWEAK_LOWEST workaround.
Diffstat (limited to 'x11vnc/xevents.c')
-rw-r--r-- | x11vnc/xevents.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/x11vnc/xevents.c b/x11vnc/xevents.c index d22faf8..8b85c79 100644 --- a/x11vnc/xevents.c +++ b/x11vnc/xevents.c @@ -1152,6 +1152,7 @@ void check_xevents(int reset) { #endif /* NO_X11 */ } +extern int rawfb_vnc_reflect; /* * hook called when a VNC client sends us some "XCut" text (rfbClientCutText). */ @@ -1188,6 +1189,11 @@ void xcut_receive(char *text, int len, rfbClientPtr cl) { } #endif + if (rawfb_vnc_reflect) { + vnc_reflect_send_cuttext(text, len); + return; + } + RAWFB_RET_VOID #if NO_X11 |