Code improvement -- the code from detectVideo() was split into two functions, handleVideo() and detectVideo().


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2353 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/x0vncserver/PollingManager.h b/unix/x0vncserver/PollingManager.h
index 7d5a123..3f77081 100644
--- a/unix/x0vncserver/PollingManager.h
+++ b/unix/x0vncserver/PollingManager.h
@@ -99,7 +99,8 @@
 
   int checkRow(int x, int y, int w, bool *pmxChanged);
   void sendChanges(bool *pmxChanged);
-  bool detectVideo(bool *pmxChanged);
+  bool handleVideo(bool *pmxChanged);
+  void detectVideo();
 
   void getVideoAreaRect(Rect *result);