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:09:55 +0000





Sent with Proton Mail secure email.

------- Original Message -------
On Wednesday, September 14th, 2022 at 10:10 AM, Robert Pluim <rpluim@gmail.com> 
wrote:


> > > > > > On Tue, 13 Sep 2022 21:07:57 +0000, uzibalqa uzibalqa@proton.me 
> > > > > > said:
> 
> 
> uzibalqa> ------- Original Message -------
> 
> uzibalqa> On Tuesday, September 13th, 2022 at 3:28 PM, Gregory Heytings 
> gregory@heytings.org wrote:
> 
> 
> 
> >> > I get
> 
> >> >
> 
> >> > (((geometry 1080 1152 1366 768) (workarea 1080 1152 1311 768) (mm-size
> 
> >> > 344 194) (frames #<frame Speedbar 0x415c0c0>) (source . "Gdk"))
> 
> >> > ((geometry 0 0 1080 1920) (workarea 0 0 1080 1920) (mm-size 477 268)
> 
> >> > (frames #<frame scratch 0x2ca1040>) (source . "Gdk")))
> 
> >> >
> 
> >> > What would be the way forward?
> 
> >>
> 
> >>
> 
> >> I have a single monitor, so I cannot help you more, sorry, apart from
> 
> >> repeating what the docstring says.
> 
> 
> uzibalqa> Could emacs get to understand the monitor within which the initial 
> frame
> 
> uzibalqa> gets displayed and be able to center the frame in that monitor?
> 
> 
> `frame-monitor-attributes' will give you the same information as` 
> display-monitor-attributes-list', but for the monitor where the
> currently selected frame is displayed.
> 
> 
> Robert
> --

frame-monitor-attributes gives me

((geometry 1080 1152 1366 768) (workarea 1080 1152 1311 768) (mm-size 344 194) 

(frames #<frame *scratch* 0x1c111f0> #<frame Speedbar 0x30cefc0>) (source . 
"Gdk"))

How do I interpret this, and how can I use this information?



reply via email to

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