GNU bug report logs - #30074
26.0; Add function(s) for current monitor info

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Wed, 10 Jan 2018 23:13:01 UTC

Severity: wishlist

Tags: wontfix

Found in version 26.0

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andy Moreton <andrewjmoreton <at> gmail.com>
To: 30074 <at> debbugs.gnu.org
Subject: bug#30074: 26.0; Add function(s) for current monitor info
Date: Mon, 15 Jul 2019 17:05:55 +0100
On Mon 15 Jul 2019, Drew Adams wrote:

>> > There is already `frame-monitor-attributes' 
>> >   (frame-monitor-attributes (selected-frame))
>> 
>> So there is.  Drew, does this function do what you want?
>
> Yes, that takes care of the `current-monitor'
> function, but not `current-monitor-size.
> Please consider this bug report to be a
> request for a function like that.

Doesn't the returned monitor attributes list give you that information ?
E.g. on a Windows box:

(frame-monitor-attributes (selected-frame))
=> ((geometry 0 0 1920 1080)  ; Monitor size and position
    (workarea 0 0 1920 1050)  ; Space available for drawing frames
    (mm-size 509 286)         ; Physical dimensions
    (name . "\\\\.\\DISPLAY1")
    (frames ...))

What other information do you need ?

    AndyM





This bug report was last modified 5 years and 311 days ago.

Previous Next


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