The main part of the problem is that NSWindow::isZoomed lies to us sometimes. This is a relatively gross workaround. Add missing invalidation after setting the content size; that prevents janky when dragging the window between monitors. Removed some redundant Dimensions computation from that method; nothing ever read it. refs: https://github.com/wez/wezterm/issues/3503