summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authordscho <dscho>2005-01-14 14:35:52 +0000
committerdscho <dscho>2005-01-14 14:35:52 +0000
commit2cd3c824c6422ae9cfc9dd8fcdbd5601c3edd9c0 (patch)
tree08de53ab0c9c36357828adbd189574773d6e6a1b /rfb
parentb9a8f19bb493c1070d6f7b355f3265782971d2d0 (diff)
downloadlibtdevnc-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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index dd61660..9364e8a 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -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