(window: WaylandWindow)
| 4674 | ? restoredInitialActiveWindowId |
| 4675 | : tileable[Math.min(windowIndex, tileable.length - 1)]?.id) ?? null; |
| 4676 | } |
| 4677 | } else { |
| 4678 | const contentRect = window.state[WINDOW_STATE_FLOATING_RECT](); |
| 4679 | const viewportRect = contentRect |
| 4680 | ? this.floatingContentRectToViewportRect(contentRect) |
| 4681 | : window.state[WINDOW_STATE_RECT](); |
| 4682 | window.state[WINDOW_STATE_FLOATING_RECT].set(viewportRect); |
| 4683 | this.setTileWidthFromRect(window, viewportRect, true); |
no test coverage detected