Redesign the format switching logic so that we don't have to adjust the way
we send out update requests.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4766 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/CConn.h b/vncviewer/CConn.h
index d6177fc..6dd3204 100644
--- a/vncviewer/CConn.h
+++ b/vncviewer/CConn.h
@@ -95,6 +95,9 @@
   rfb::PixelFormat serverPF;
   rfb::PixelFormat fullColourPF;
 
+  bool pendingPFChange;
+  rfb::PixelFormat pendingPF;
+
   int currentEncoding, lastServerEncoding;
 
   bool formatChange;