summaryrefslogtreecommitdiffstats
path: root/x11vnc/userinput.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/userinput.c')
-rw-r--r--x11vnc/userinput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/userinput.c b/x11vnc/userinput.c
index ef1563f..7646d08 100644
--- a/x11vnc/userinput.c
+++ b/x11vnc/userinput.c
@@ -4082,7 +4082,7 @@ int fb_update_sent(int *count) {
i = rfbGetClientIterator(screen);
while( (cl = rfbClientIteratorNext(i)) ) {
- sent += cl->framebufferUpdateMessagesSent;
+ sent += rfbStatGetMessageCountSent(cl, rfbFramebufferUpdate);
}
rfbReleaseClientIterator(i);
if (sent != last_count) {