From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: uzibalqa Newsgroups: gmane.emacs.help Subject: Re: Frame shifted upwards upon changing font size Date: Wed, 14 Sep 2022 15:09:55 +0000 Message-ID: References: <87leqml110.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2905"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gregory Heytings , Eli Zaretskii , help-gnu-emacs@gnu.org To: Robert Pluim Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 14 17:11:09 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oYU2e-0000YS-Mx for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 14 Sep 2022 17:11:08 +0200 Original-Received: from localhost ([::1]:41692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYU2d-0001A6-H1 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 14 Sep 2022 11:11:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYU1c-00019s-6X for help-gnu-emacs@gnu.org; Wed, 14 Sep 2022 11:10:04 -0400 Original-Received: from mail-40130.protonmail.ch ([185.70.40.130]:63293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYU1Z-0003Cg-TM for help-gnu-emacs@gnu.org; Wed, 14 Sep 2022 11:10:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=rrkdonnjojbcvh2neqd4nav34q.protonmail; t=1663168199; x=1663427399; bh=mJ5J9dm7xJSLNz+07iWv1LDrbA1u4xRNA4h39hiDQSA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=AGSv7Ajtucz/xuzf01S4LZAXj/bPt8GLx/gVKbU5E/oXRocg6gkut9fvz9Fr6eo08 WlCMNWRmDslbZgXLpzKeuwLYDi6UaAqrLV80QvMm+yH9hqhO/3MFM8luM9jdSXCiI0 ZdTJph5wjAZ8nZ2EEJh+pnjy5hHBDEIB3Zm7ftP9HUgB3bBlj+j/ZwxiB+wvoTu43y QDm/cI2vjLE4ajX/NNbgRRtWXaZbUotiltRKcITYqwQh9PaUU9eGGzMFdU2MC3mZXA lI6ePMC1e3J2nG5jYohHqRPGAgkFCtDGan45OR/LVgZbm6TNnsAkyfehs3A+accyN7 Nwx70gQMvIa7A== In-Reply-To: <87leqml110.fsf@gmail.com> Feedback-ID: 52887082:user:proton Received-SPF: pass client-ip=185.70.40.130; envelope-from=uzibalqa@proton.me; helo=mail-40130.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139460 Archived-At: Sent with Proton Mail secure email. ------- Original Message ------- On Wednesday, September 14th, 2022 at 10:10 AM, Robert Pluim wrote: > > > > > > On Tue, 13 Sep 2022 21:07:57 +0000, uzibalqa uzibalqa@proton.me= said: >=20 >=20 > uzibalqa> ------- Original Message ------- >=20 > uzibalqa> On Tuesday, September 13th, 2022 at 3:28 PM, Gregory Heytings g= regory@heytings.org wrote: >=20 >=20 >=20 > >> > I get >=20 > >> > >=20 > >> > (((geometry 1080 1152 1366 768) (workarea 1080 1152 1311 768) (mm-si= ze >=20 > >> > 344 194) (frames #) (source . "Gdk")) >=20 > >> > ((geometry 0 0 1080 1920) (workarea 0 0 1080 1920) (mm-size 477 268) >=20 > >> > (frames #) (source . "Gdk"))) >=20 > >> > >=20 > >> > What would be the way forward? >=20 > >> >=20 > >> >=20 > >> I have a single monitor, so I cannot help you more, sorry, apart from >=20 > >> repeating what the docstring says. >=20 >=20 > uzibalqa> Could emacs get to understand the monitor within which the init= ial frame >=20 > uzibalqa> gets displayed and be able to center the frame in that monitor? >=20 >=20 > `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. >=20 >=20 > Robert > -- frame-monitor-attributes gives me ((geometry 1080 1152 1366 768) (workarea 1080 1152 1311 768) (mm-size 344 1= 94)=20 (frames # #) (source .= "Gdk")) How do I interpret this, and how can I use this information?