allow client window dimensions to be specified