diff options
author | dscho <dscho> | 2002-10-29 16:04:24 +0000 |
---|---|---|
committer | dscho <dscho> | 2002-10-29 16:04:24 +0000 |
commit | d60fda117b1d72d12984a07a4444d36a69da639e (patch) | |
tree | a13e8c1f9f63e5a7c10541729dde603b4425b101 /main.c | |
parent | 19c7fc0217e2087af2173974689b9b0f892a18d3 (diff) | |
download | libtdevnc-d60fda117b1d72d12984a07a4444d36a69da639e.tar.gz libtdevnc-d60fda117b1d72d12984a07a4444d36a69da639e.zip |
fixed severe bug with sending fbupdates
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -766,7 +766,8 @@ rfbProcessEvents(rfbScreenInfoPtr rfbScreen,long usec) i = rfbGetClientIterator(rfbScreen); cl=rfbClientIteratorNext(i); while(cl) { - if(cl->sock>=0 && (!cl->onHold) && FB_UPDATE_PENDING(cl)) { + if (cl->sock >= 0 && !cl->onHold && FB_UPDATE_PENDING(cl) && + !sraRgnEmpty(cl->requestedRegion)) { if(cl->screen->rfbDeferUpdateTime == 0) { rfbSendFramebufferUpdate(cl,cl->modifiedRegion); } else if(cl->startDeferring.tv_usec == 0) { |