comparison src/main/java/jp/ac/u_ryukyu/treevnc/server/VncProxyService.java @ 56:913d0f663e74

12/9
author one
date Mon, 09 Dec 2013 16:09:06 +0900
parents 9fdb8ff88497
children 433c79184c05
comparison
equal deleted inserted replaced
55:9fdb8ff88497 56:913d0f663e74
161 // rfb.setStream(reader,writer); 161 // rfb.setStream(reader,writer);
162 workingProtocol = new Protocol(reader, writer, 162 workingProtocol = new Protocol(reader, writer,
163 new PasswordChooser(passwordFromParams, 163 new PasswordChooser(passwordFromParams,
164 connectionParams, containerFrame, this), 164 connectionParams, containerFrame, this),
165 settings); 165 settings);
166 if(fbWidth!=0) 166 // if(fbWidth!=0)
167 workingProtocol.setScreenSizeRetina(fbWidth, fbHeight); 167 workingProtocol.setScreenSizeRetina(1080, 1080);
168 workingProtocol.handshake(); 168 workingProtocol.handshake();
169 rfb.setProtocolContext(workingProtocol); 169 rfb.setProtocolContext(workingProtocol);
170 // input into change parents 170 // input into change parents
171 ClipboardControllerImpl clipboardController = new ClipboardControllerImpl( 171 ClipboardControllerImpl clipboardController = new ClipboardControllerImpl(
172 workingProtocol, settings.getRemoteCharsetName()); 172 workingProtocol, settings.getRemoteCharsetName());