[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30074: 26.0; Add function(s) for current monitor info
From: |
Andy Moreton |
Subject: |
bug#30074: 26.0; Add function(s) for current monitor info |
Date: |
Mon, 15 Jul 2019 17:05:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) |
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
bug#30074: 26.0; Add function(s) for current monitor info, Drew Adams, 2019/07/14