GNU bug report logs - #76691
`display-monitor-attributes-list` not working properly on macOS

Previous Next

Package: emacs;

Reported by: Ruiyang Wu <ywwry66 <at> gmail.com>

Date: Sun, 2 Mar 2025 21:00:03 UTC

Severity: normal

Tags: confirmed, patch

Merged with 76051

Found in versions 29.4, 30.1, 31.0.50

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

Full log


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

From: Ship Mints <shipmints <at> gmail.com>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 76691 <at> debbugs.gnu.org, Ruiyang Wu <ywwry66 <at> gmail.com>,
 Stefan Kangas <stefankangas <at> gmail.com>, Juri Linkov <juri <at> linkov.net>
Subject: Re: bug#76691: `display-monitor-attributes-list` not working properly
 on macOS
Date: Tue, 4 Mar 2025 08:26:21 -0500
[Message part 1 (text/plain, inline)]
On Tue, Mar 4, 2025 at 8:23 AM Ship Mints <shipmints <at> gmail.com> wrote:

> On Tue, Mar 4, 2025 at 8:19 AM Robert Pluim <rpluim <at> gmail.com> wrote:
>
>>
>> See also bug#34516, which has a patch from me to invent monitor names
>> on macOS.
>>
>> That bug also points at code from <https://github.com/glfw/glfw>,
>> which someone motivated could perhaps copy.
>>
>
> Good idea, but they use IODisplayConnect which, sadly, is not supported on
> Apple Silicon so we'll have to come up with a solution that works for both
> Intel and M.
>

I do see a reference in their code to NSScreen localizedName so maybe that
still works.  I'll experiment with that.
[Message part 2 (text/html, inline)]

This bug report was last modified 12 days ago.

Previous Next


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