dock-apps-builder: handle multiple XWindow in RuntimeApp