diff options
author | runge <runge@karlrunge.com> | 2010-04-09 20:09:15 -0400 |
---|---|---|
committer | runge <runge@karlrunge.com> | 2010-04-09 20:09:15 -0400 |
commit | 2a8ba97ec5b0f7fbfcfc8adab6732a95e95c7204 (patch) | |
tree | 7da693c36f06f4e16e8bc2b030c54b67f01d8671 /x11vnc/util.c | |
parent | 5c53ccbbe99dbf098dbb396a65b487f08315d825 (diff) | |
download | libtdevnc-2a8ba97ec5b0f7fbfcfc8adab6732a95e95c7204.tar.gz libtdevnc-2a8ba97ec5b0f7fbfcfc8adab6732a95e95c7204.zip |
x11vnc: exit(1) for -connect_or_exit failure, quiet query mode for grab_state, pointer_pos, etc. ipv6 support. STUNNEL_LISTEN for particular interface. -input_eagerly in addition to -allinput. quiet Xinerama message.
Diffstat (limited to 'x11vnc/util.c')
-rw-r--r-- | x11vnc/util.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/x11vnc/util.c b/x11vnc/util.c index e6c77d6..4e7d80d 100644 --- a/x11vnc/util.c +++ b/x11vnc/util.c @@ -495,7 +495,7 @@ void check_allinput_rate(void) { if (verb) rfbLog("check_allinput_rate:\n"); if (verb) rfbLog("Client is sending %.1f extra requests per second for the\n", rate); if (verb) rfbLog("past %d seconds! (queued: %d)\n", dt, nq); - if (strstr(getenv("CHECK_RATE"), "allinput") && !all_input) { + if (strstr(getenv("CHECK_RATE"), "allinput") && !all_input && !handle_events_eagerly) { rfbLog("Switching to -allpinput mode.\n"); all_input = 1; } @@ -590,6 +590,9 @@ int rfbPE(long usec) { } } + if (ipv6_listen) { + check_ipv6_listen(usec); + } if (check_rate != 0) { if (check_rate < 0) { if (getenv("CHECK_RATE")) { @@ -643,8 +646,7 @@ void rfbCFD(long usec) { if (all_input) { do_allinput(usec); } else { - /* XXX how for cmdline? */ - if (all_input) { + if (handle_events_eagerly) { screen->handleEventsEagerly = TRUE; } else { screen->handleEventsEagerly = FALSE; |