 
     return sizes
 
-  updateSize: (force=no) ->
+
+  updateSize: (force = no) ->
+
 
     [swidth, sheight] = [@parent.getWidth()  or @currentWidth,\
                          @parent.getHeight() or @currentHeight]
 
+    @updateAppSize()
+
     return  if not force and \
                swidth is @currentWidth and sheight is @currentHeight
 


    @updateSize()

    @container.on "mousedown mousemove mouseup mousewheel contextmenu", (event) =>
      @inputHandler.mouseEvent event

    @clientInterface =

      '\\x' + hex
    '"' + escaped.replace('"', '\\"') + '"'


  paste: (event) =>

    KD.utils.stopDOMEvent event
    @server.input event.originalEvent.clipboardData.getData "text/plain"
    @setKeyFocus()
