diff options
author | dscho <dscho> | 2005-01-14 14:35:52 +0000 |
---|---|---|
committer | dscho <dscho> | 2005-01-14 14:35:52 +0000 |
commit | 2cd3c824c6422ae9cfc9dd8fcdbd5601c3edd9c0 (patch) | |
tree | 08de53ab0c9c36357828adbd189574773d6e6a1b /rfb | |
parent | b9a8f19bb493c1070d6f7b355f3265782971d2d0 (diff) | |
download | libtdevnc-2cd3c824c6422ae9cfc9dd8fcdbd5601c3edd9c0.tar.gz libtdevnc-2cd3c824c6422ae9cfc9dd8fcdbd5601c3edd9c0.zip |
return value of rfbProcessEvents tells if an update was pending
Diffstat (limited to 'rfb')
-rw-r--r-- | rfb/rfb.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -789,10 +789,11 @@ extern void rfbRefuseOnHoldClient(rfbClientPtr cl); /* call one of these two functions to service the vnc clients. usec are the microseconds the select on the fds waits. if you are using the event loop, set this to some value > 0, so the - server doesn't get a high load just by listening. */ + server doesn't get a high load just by listening. + rfbProcessEvents() returns TRUE if an update was pending. */ extern void rfbRunEventLoop(rfbScreenInfoPtr screenInfo, long usec, rfbBool runInBackground); -extern void rfbProcessEvents(rfbScreenInfoPtr screenInfo,long usec); +extern rfbBool rfbProcessEvents(rfbScreenInfoPtr screenInfo,long usec); #endif |