Timeline for Detect/specify the monitor a frame is on?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:52 | history | edited | CommunityBot |
replaced http://emacs.stackexchange.com/ with https://emacs.stackexchange.com/
|
|
Jul 8, 2016 at 14:48 | comment | added | lawlist |
In case you are interested in exact pixel sizing of frames concurrently with frame creation, that feature was implemented with bug #21415, along with a bunch of other frame-related fixes at that time. I don't know if it is documented anywhere (other than in the bug thread), but the parameters for pixels sizing on frame creation look like this: '(width . (text-pixels . 1900)) and '(height . (text-pixels . 1054)) . Those would be in lieu of the standard width and height parameters that we are all accustomed to seeing.
|
|
Jul 8, 2016 at 14:23 | comment | added | Dan♦ | @lawlist: thank you, I've been able to extract the monitor coordinates from the function Lindydancer cited. | |
Jul 8, 2016 at 14:21 | answer | added | Dan♦ | timeline score: 1 | |
Jul 8, 2016 at 9:56 | answer | added | Lindydancer | timeline score: 1 | |
Jul 8, 2016 at 5:12 | comment | added | lawlist |
I am assuming that the displays are not mirrors, and that one is an extension of the other. Do you know the top and left coordinates for each monitor? If so, then that is one way to accomplish the goal since make-frame accepts those arguments/parameters (among others) when creating a frame. [Note that both Emacs 25 and the master branch have some important bug fixes regarding placement of new frames, which are not available in earlier versions.]
|
|
Jul 7, 2016 at 17:16 | history | asked | Dan♦ | CC BY-SA 3.0 |