In 531: width = Math.min((root_w - self.left - self.right) / splitscreen_length[key], 250); could that 250 ba an option, so more windows is possible to be minimized