diff options
Diffstat (limited to 'x11vnc/userinput.c')
-rw-r--r-- | x11vnc/userinput.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/x11vnc/userinput.c b/x11vnc/userinput.c index 7646d08..10e56d6 100644 --- a/x11vnc/userinput.c +++ b/x11vnc/userinput.c @@ -4082,7 +4082,11 @@ int fb_update_sent(int *count) { i = rfbGetClientIterator(screen); while( (cl = rfbClientIteratorNext(i)) ) { +#if 0 + sent += cl->framebufferUpdateMessagesSent; +#else sent += rfbStatGetMessageCountSent(cl, rfbFramebufferUpdate); +#endif } rfbReleaseClientIterator(i); if (sent != last_count) { |