macOS: Wrong frame rectangle after wake (bug#71912)
authorGerd Möllmann <gerd@gnu.org>
Sun, 11 Aug 2024 11:22:45 +0000 (13:22 +0200)
committerGerd Möllmann <gerd@gnu.org>
Mon, 12 Aug 2024 03:11:00 +0000 (05:11 +0200)
* src/nsterm.m ([EmacsView windowDidBecomeKey]):
Call adjustEmacsFrameRect.

src/nsterm.m

index 905707dace4ffb06e7f59ec4d9a2d7adbaf0a3ae..97b829d0e4c4970e0c7cb257b202a4afc54a3e74 100644 (file)
@@ -7968,6 +7968,7 @@ ns_in_echo_area (void)
     dpyinfo->ns_focus_frame = emacsframe;
 
   ns_frame_rehighlight (emacsframe);
+  [self adjustEmacsFrameRect];
 
   event.kind = FOCUS_IN_EVENT;
   XSETFRAME (event.frame_or_window, emacsframe);