GNU bug report logs - #34516
Multi-monitor frame sets

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Sun, 17 Feb 2019 21:10:02 UTC

Severity: normal

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


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

From: Andy Moreton <andrewjmoreton <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#34516: Multi-monitor frame sets
Date: Sun, 24 Feb 2019 22:11:44 +0000
On Sun 24 Feb 2019, Juri Linkov wrote:

>>> Since on Windows 'display-monitor-attributes-list' returns such
>>> fake monitor names:
>>>
>>>   \\.\DISPLAY1
>>>   \\.\DISPLAY2
>>>
>>> on macOS it could return something like that or generate fake names
>>> from geometry like "1920x1080+0+0", "2560x1440+1920+16".
>>
>> I often have two identical monitors attached, so that would be
>> confusing :-)
>>
>> Something like this (assuming nobody every connects more than 9
>> monitors to the same system).
>
> I hope at least the primary monitor always comes first in the list.

The `display-monitor-attributes-list' docstring states:

"Return a list of physical monitor attributes on DISPLAY.
DISPLAY can be a display name, a terminal name, or a frame.
If DISPLAY is omitted or nil, it defaults to the selected frame’s display.
Each element of the list represents the attributes of a physical
monitor.  The first element corresponds to the primary monitor."
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Why are you still guessing, instead of reading the documentation ?

    AndyM





This bug report was last modified 6 years and 51 days ago.

Previous Next


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