GNU bug report logs - #79164
[PATCH] Fix macOS frame position update after resize/move in nsterm.m

Previous Next

Package: emacs;

Reported by: 川本 琢二 (Dr.Sc.KAWAMOTO,Takuji) <kawamoto.takuji <at> gmail.com>

Date: Sun, 3 Aug 2025 06:46:02 UTC

Severity: normal

Tags: patch

Done: Alan Third <alan <at> idiocy.org>

Full log


Message #14 received at 79164 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 川本 琢二(Dr.Sc.KAWAMOTO, Takuji) <kawamoto.takuji <at> gmail.com>,
 Gerd Möllmann <gerd.moellmann <at> gmail.com>, Alan Third
 <alan <at> idiocy.org>
Cc: 79164 <at> debbugs.gnu.org
Subject: Re: bug#79164: [PATCH] Fix macOS frame position update after
 resize/move in nsterm.m
Date: Mon, 04 Aug 2025 14:58:42 +0300
> Date: Sun, 3 Aug 2025 15:45:25 +0900
> From: 川本 琢二
>  (Dr.Sc.KAWAMOTO, Takuji) <kawamoto.takuji <at> gmail.com>
> 
> This patch addresses a bug in the macOS build of Emacs, where frame
> position was not correctly updated after resizing from the left edge.
> 
> In particular, it fixes the issue reported in bug#74074, where
> the move-frame-functions hook does not reliably reflect the final
> frame location after resizing. This patch introduces the
> updateFramePosition method, which is called from windowDidMove
> and windowDidEndLiveResize to ensure the frame geometry stays
> in sync with the actual macOS window position.
> 
> Tested on macOS 15.5.

Thanks, I hope the macOS experts (CC'ed) will be able to review and
test the patch.

For the record: which Emacs version did you patch with this change?




This bug report was last modified 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.