Fixed bug with wrong sizing the main window to the frame size.
We must take into the main menu.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@197 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfbplayer/rfbplayer.cxx b/rfbplayer/rfbplayer.cxx
index c7826d1..fd70d74 100644
--- a/rfbplayer/rfbplayer.cxx
+++ b/rfbplayer/rfbplayer.cxx
@@ -686,7 +686,7 @@
 void RfbPlayer::setFrameSize(int width, int height) {
   // Calculate and set required size for main window
   RECT r = {0, 0, width, height};
-  AdjustWindowRectEx(&r, GetWindowLong(getFrameHandle(), GWL_STYLE), FALSE, 
+  AdjustWindowRectEx(&r, GetWindowLong(getFrameHandle(), GWL_STYLE), TRUE, 
     GetWindowLong(getFrameHandle(), GWL_EXSTYLE));
   r.bottom += CTRL_BAR_HEIGHT; // Include RfbPlayr's controls area
   AdjustWindowRect(&r, GetWindowLong(getMainHandle(), GWL_STYLE), FALSE);