Added the possibility to play/pause the rfb session
by the right mouse button.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@246 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfbplayer/rfbplayer.cxx b/rfbplayer/rfbplayer.cxx
index 38dd241..a494207 100644
--- a/rfbplayer/rfbplayer.cxx
+++ b/rfbplayer/rfbplayer.cxx
@@ -546,6 +546,11 @@
       EndPaint(getFrameHandle(), &ps); 
     }
     return 0;
+    
+    // Process play/pause by the right mouse button
+  case WM_RBUTTONDOWN:
+    SendMessage(getMainHandle(), WM_COMMAND, ID_PLAYPAUSE, 0);
+    return 0;
 
   case WM_VSCROLL:
   case WM_HSCROLL: