]> git.eshelyaron.com Git - emacs.git/commitdiff
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)
committerEshel Yaron <me@eshelyaron.com>
Fri, 16 Aug 2024 06:44:42 +0000 (08:44 +0200)
* src/nsterm.m ([EmacsView windowDidBecomeKey]):
Call adjustEmacsFrameRect.

(cherry picked from commit 6d55e94996ef2603a2c1cc2e956ac36bdbb69ba6)

src/nsterm.m

index 473a5e705e9066e3d74e0bcdbca59d3f199fc128..8c4057384679d0ce5e86188ffa28d494bef8bb96 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);