# HG changeset patch
# User oc
# Date 1421856139 -32400
# Node ID d1d6c7306281f35057ef67bc56ff4a135e62e4ec
# Parent  7e8b070dc15b5002ad7295763ffe0da30b3cef5e
small fix

diff -r 7e8b070dc15b -r d1d6c7306281 src/main/java/com/glavsoft/rfb/protocol/state/InitState.java
--- a/src/main/java/com/glavsoft/rfb/protocol/state/InitState.java	Thu Jan 22 01:01:29 2015 +0900
+++ b/src/main/java/com/glavsoft/rfb/protocol/state/InitState.java	Thu Jan 22 01:02:19 2015 +0900
@@ -92,11 +92,8 @@
 
     public void completeContextData(ServerInitMessage serverInitMessage, byte[] originalInitData) {
         context.setPixelFormat(serverInitMessage.getPixelFormat());
-        context.setFbWidth(singleWidth);
-        context.setFbHeight(singleHeight);
         context.setFbWidth(serverInitMessage.getFrameBufferWidth());
         context.setFbHeight(serverInitMessage.getFrameBufferHeight());
-
         context.setRemoteDesktopName(serverInitMessage.getName());
         context.setInitData(originalInitData);
     }