summaryrefslogtreecommitdiffstats
path: root/x11vnc/x11vnc_defs.c
diff options
context:
space:
mode:
authorrunge <runge>2008-02-01 02:05:10 +0000
committerrunge <runge>2008-02-01 02:05:10 +0000
commit7e7ef1b4716839045c4904c472564f13290ebd8b (patch)
tree030f74552aedb6036a3c4a918f030f9cdbb03c6f /x11vnc/x11vnc_defs.c
parentc17aef31ac3540a04707a7f14f04524cc76c93d0 (diff)
downloadlibtdevnc-7e7ef1b4716839045c4904c472564f13290ebd8b.tar.gz
libtdevnc-7e7ef1b4716839045c4904c472564f13290ebd8b.zip
x11vnc: during speeds estimate, guard against client disconnecting.
Diffstat (limited to 'x11vnc/x11vnc_defs.c')
-rw-r--r--x11vnc/x11vnc_defs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11vnc/x11vnc_defs.c b/x11vnc/x11vnc_defs.c
index a54be39..7834a90 100644
--- a/x11vnc/x11vnc_defs.c
+++ b/x11vnc/x11vnc_defs.c
@@ -15,7 +15,7 @@ int xtrap_base_event_type = 0;
int xdamage_base_event_type = 0;
/* date +'lastmod: %Y-%m-%d' */
-char lastmod[] = "0.9.4 lastmod: 2008-01-14";
+char lastmod[] = "0.9.4 lastmod: 2008-01-24";
/* X display info */
@@ -146,6 +146,7 @@ int hack_val = 0;
/* last client to move pointer */
rfbClientPtr last_pointer_client = NULL;
rfbClientPtr latest_client = NULL;
+double last_client_gone = 0.0;
int waited_for_client = 0;
int findcreatedisplay = 0;