git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4652 3789f03b-4d11-0410-bbf8-ca57d06f2519tags/v1.1.90
@@ -457,7 +457,8 @@ public class CConn extends CConnection | |||
} | |||
viewport.addChild(desktop); | |||
reconfigureViewport(); | |||
viewport.setVisible(true); | |||
if ((cp.width > 0) && (cp.height > 0)) | |||
viewport.setVisible(true); | |||
desktop.initGraphics(); | |||
desktop.requestFocusInWindow(); | |||
} |