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 #23 received at 79164 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Gerd Möllmann <gerd.moellmann <at> gmail.com>,
 79164 <at> debbugs.gnu.org,
 川本 琢二(Dr.Sc.KAWAMOTO, Takuji)
 <kawamoto.takuji <at> gmail.com>
Subject: Re: bug#79164: [PATCH] Fix macOS frame position update after
 resize/move in nsterm.m
Date: Mon, 4 Aug 2025 16:45:27 +0100
On Mon, Aug 04, 2025 at 02:58:42PM +0300, Eli Zaretskii wrote:
> > 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.

This all looks good to me. The patch looks good and the explanation
and testing too.

Unfortunately I can't apply the patch, I think it's had long-lines
wrapped by the email client. Can you please resend it?

Thanks!
-- 
Alan Third




This bug report was last modified today.

Previous Next


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