help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Frame shifted upwards upon changing font size


From: uzibalqa
Subject: Re: Frame shifted upwards upon changing font size
Date: Wed, 14 Sep 2022 15:07:07 +0000

------- Original Message -------
On Wednesday, September 14th, 2022 at 10:30 AM, Po Lu <luangruo@yahoo.com> 
wrote:


> uzibalqa uzibalqa@proton.me writes:
> 
> > Could emacs get to understand the monitor within which the initial frame
> > gets displayed and be able to center the frame in that monitor?
> 
> 
> That gets tricky very quickly. Monitor names are not guaranteed to
> remain unique, and X-level identifiers are reused in a monotonically
> increasing fashion and cannot be relied on to uniquely identify the
> monitor on which where the initial frame was created.
> 
> In fact, X has 3 kinds of "monitor": CRTCs, outputs, and monitors. A
> CRT controller defines a rectangle in the screen that has a single mode
> line, and can have multiple outputs attached. An output is a physical
> output that displays the contents of its CRTC, and a monitor is a subset
> of the screen that represents a non-disjoint collection of pixels that
> will be presented to the user through 1 or more outputs, which may be
> connected to any number of CRTCs.
> 
> Of course, a frame might be displayed in multiple overlapping monitors,
> outputs, and CRT controllers, at any given time.
> 
> Under such a situation, where do you propose to center the frame?

In the middle of the monitor defined by the location of the mouse pointer, 
perhaps.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]