macos: fix font size issue when spawning on external monitor
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
This commit is contained in:
3 files changed
+29
-14
No files matched your search
@@ -59,6 +59,8 @@ As features stabilize some brief notes about them will accumulate here.
|
||||
* Windows: closing a window while the debug overlay was active could
|
||||
leave a lingering wezterm-gui.exe running. #3522
|
||||
* Windows: inconsistencies with win32 input mode. Thanks to @kreudom! #2235
|
||||
* macOS: font size is zoomed or window appears empty when first launched on a
|
||||
secondary monitor with different scaling settings from the primary monitor. #3503
|
||||
|
||||
### 20230408-112425-69ae8472
|
||||
|
||||
|
||||
Reference in new issue
Block a user