summaryrefslogtreecommitdiffstats
path: root/x11vnc/scan.c
diff options
context:
space:
mode:
authorrunge <runge>2009-03-07 22:30:43 +0000
committerrunge <runge>2009-03-07 22:30:43 +0000
commite7152a7f68063a86887a9059728ca26b5404ce51 (patch)
treef7ac5e878e0655840337f10946868231e10dd9ba /x11vnc/scan.c
parenteb1cc7608b91996199dae88663ee0d14d5d5b3f7 (diff)
downloadlibtdevnc-e7152a7f68063a86887a9059728ca26b5404ce51.tar.gz
libtdevnc-e7152a7f68063a86887a9059728ca26b5404ce51.zip
Allow range for X11VNC_SKIP_DISPLAY, document grab
Xserver issue. Add progress_client() to proceed more quickly thru handshake. Improvements to turbovnc hack.
Diffstat (limited to 'x11vnc/scan.c')
-rw-r--r--x11vnc/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/scan.c b/x11vnc/scan.c
index 2738de2..82eb8cc 100644
--- a/x11vnc/scan.c
+++ b/x11vnc/scan.c
@@ -3345,7 +3345,7 @@ int scan_for_updates(int count_only) {
scan_count %= NSCAN;
/* some periodic maintenance */
- if (subwin) {
+ if (subwin && scan_count % 4 == 0) {
set_offset(); /* follow the subwindow */
}
if (indexed_color && scan_count % 4 == 0) {