[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 57d2f24: * lisp/frame.el (make-frame-on-monitor): New command
From: |
Juri Linkov |
Subject: |
Re: master 57d2f24: * lisp/frame.el (make-frame-on-monitor): New command. (Bug#34516) |
Date: |
Sat, 02 Mar 2019 23:09:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
> In any case, I think using x-parse-geometry is not necessary. The
> workarea already contains the relevant coördinates, and you can just
> pass (fullscreen . maximized) to get the right size. Sample patch
> below (which Iʼve tested only on macOS, not under X).
We should not use (fullscreen . maximized) because this is not what
make-frame does by default. I see that in 'emacs -Q', 'C-x 5 2' makes
a new frame with text sizes 80x35 in the center of the current monitor.
We should do the same also in case when a new frame is created on
another monitor. So maybe just omit the attributes 'width' and
'height', without using 'fullscreen'. Any other attributes are
a matter of personal customization.