summaryrefslogtreecommitdiffstats
path: root/x11vnc/xevents.c
diff options
context:
space:
mode:
authorrunge <runge>2007-02-16 02:54:59 +0000
committerrunge <runge>2007-02-16 02:54:59 +0000
commitf1e8149ae75eb7c0b08d4fde27bd164728cfdf68 (patch)
tree0ef2e59420b8d15d90bc61cddb92169acf479060 /x11vnc/xevents.c
parent241f3ed566d34bf5b6c67ebebcc00727134d93b2 (diff)
downloadlibtdevnc-f1e8149ae75eb7c0b08d4fde27bd164728cfdf68.tar.gz
libtdevnc-f1e8149ae75eb7c0b08d4fde27bd164728cfdf68.zip
x11vnc: tightvnc filetransfer off by default. FINDCREATEDISPLAY geometry.
Diffstat (limited to 'x11vnc/xevents.c')
-rw-r--r--x11vnc/xevents.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11vnc/xevents.c b/x11vnc/xevents.c
index 7b8dc30..2f2e02b 100644
--- a/x11vnc/xevents.c
+++ b/x11vnc/xevents.c
@@ -1290,6 +1290,9 @@ void kbd_release_all_keys(rfbClientPtr cl) {
void set_single_window(rfbClientPtr cl, int x, int y) {
int ok = 0;
+ if (no_ultra_ext) {
+ return;
+ }
if (unixpw_in_progress) {
rfbLog("set_single_window: unixpw_in_progress, skipping.\n");
return;
@@ -1333,6 +1336,9 @@ void set_single_window(rfbClientPtr cl, int x, int y) {
}
void set_server_input(rfbClientPtr cl, int grab) {
+ if (no_ultra_ext) {
+ return;
+ }
if (unixpw_in_progress) {
rfbLog("set_server_input: unixpw_in_progress, skipping.\n");
return;
@@ -1368,6 +1374,10 @@ void set_server_input(rfbClientPtr cl, int grab) {
}
void set_text_chat(rfbClientPtr cl, int len, char *txt) {
char buf[100];
+
+ if (no_ultra_ext) {
+ return;
+ }
rfbLog("set_text_chat: len=0x%x txt='", len);
if (0 < len && len < 10000) write(2, txt, len);
fprintf(stderr, "'\n");