unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: emacs-devel@gnu.org
Cc: "Gerd Möllmann" <gerd@gnu.org>
Subject: Re: master 9253910a5a5: Restore a default before macOS 14 API change (bug#72440)
Date: Mon, 05 Aug 2024 16:48:27 +0800	[thread overview]
Message-ID: <87wmkvnyn8.fsf@yahoo.com> (raw)
In-Reply-To: <20240805074128.771E5C0EFEE@vcs2.savannah.gnu.org> (Gerd Moellmann's message of "Mon, 5 Aug 2024 03:41:28 -0400 (EDT)")

Gerd Moellmann <gerd@gnu.org> writes:

> branch: master
> commit 9253910a5a5ec89fe6e676e53f355f3b0bdc176e
> Author: Gerd Möllmann <gerd@gnu.org>
> Commit: Gerd Möllmann <gerd@gnu.org>
>
>     Restore a default before macOS 14 API change (bug#72440)
>     
>     * src/nsterm.m ([EmacsView initFrameFromEmacs:]): Set clipsToBounds to
>     YES.
> ---
>  src/nsterm.m | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/src/nsterm.m b/src/nsterm.m
> index b883e605a5b..296e58c1697 100644
> --- a/src/nsterm.m
> +++ b/src/nsterm.m
> @@ -8073,6 +8073,9 @@ ns_in_echo_area (void)
>  #ifdef NS_IMPL_COCOA
>    old_title = 0;
>    maximizing_resize = NO;
> +  /* Restore to default before macOS 14 (bug#72440).  */
> +  if (NSAppKitVersionNumber >= NSAppKitVersionNumber14_0)
> +    [self setClipsToBounds: YES];
>  #endif

Is `NSAppKitVersionNumber14_0' defined on older releases of Mac OS?
Emacs is supposed to compile on 10.6 at the earliest.



       reply	other threads:[~2024-08-05  8:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <172284368812.15702.9761339987965685067@vcs2.savannah.gnu.org>
     [not found] ` <20240805074128.771E5C0EFEE@vcs2.savannah.gnu.org>
2024-08-05  8:48   ` Po Lu [this message]
2024-08-05  9:35     ` master 9253910a5a5: Restore a default before macOS 14 API change (bug#72440) Gerd Möllmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wmkvnyn8.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=emacs-devel@gnu.org \
    --cc=gerd@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).