def _build_layout(self):
logger.info('<STR_LIT>')<EOL>if not self.pymux.arrangement.windows:<EOL><INDENT>return Window()<EOL><DEDENT>active_window = self.pymux.arrangement.get_active_window()<EOL>if active_window.zoom:<EOL><INDENT>return to_container(_create_container_for_process(<EOL>self.pymux, active_window, active_window.active_pane, zoom=True))<EOL><DEDENT>else:<EOL><INDENT>window = self.pymux.arrangement.get_active_window()<EOL>return HSplit([<EOL>ConditionalContainer(<EOL>content=Window(height=<NUM_LIT:1>),<EOL>filter=Condition(lambda: self.pymux.enable_pane_status)),<EOL>_create_split(self.pymux, window, window.root)<EOL>])<EOL><DEDENT>
Rebuild a new Container object and return that.