From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: Frame shifted upwards upon changing font size Date: Wed, 14 Sep 2022 12:10:19 +0200 Message-ID: <87leqml110.fsf@gmail.com> References: <831qsf5x8j.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37487"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gregory Heytings , Eli Zaretskii , help-gnu-emacs@gnu.org To: uzibalqa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 14 12:12:26 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 1oYPNa-0009XG-Dn for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 14 Sep 2022 12:12:26 +0200 Original-Received: from localhost ([::1]:40288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYPNZ-0000ZK-0X for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 14 Sep 2022 06:12:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYPLt-0000UT-Li for help-gnu-emacs@gnu.org; Wed, 14 Sep 2022 06:10:41 -0400 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:38512) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYPLb-0005S6-TZ; Wed, 14 Sep 2022 06:10:39 -0400 Original-Received: by mail-wr1-x434.google.com with SMTP id b5so24847208wrr.5; Wed, 14 Sep 2022 03:10:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:gmane-reply-to-list:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=+dTkC8SLHyl0NPbiov7VXQqEqhi3l6G6lUlkxd3+cpc=; b=fDFIhU1TuEG+bEpT1/tsMTp469kc2ztceOLii8mqUC+xA01wtj38X6dlgk+LPch9GD HrUfWw7Ss7J8Fmg8APTilHnoicERf7ErY/YM+IS8vR/lSMo+gscFVbFFfA1NvZZ67/ir wXR0SoADqDq8MLZQQTOsFaEGyuXcVhNavIYMy12y8jy3sW2fkM1SlZxXlUvzOK33RvXD 7s3yOuNv7fOza2+bnjeT9lLxomebVBgUMr4BpA4v4+GAipSgY0gKXOVN6lv+yNMXJcvB bJOS9rbzgQFfzWO9DFBjA8h4E/2DPe/Mipf60X0swY2hMH0dRQdDjygAX3RK17d5kP6U 8bYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:gmane-reply-to-list:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=+dTkC8SLHyl0NPbiov7VXQqEqhi3l6G6lUlkxd3+cpc=; b=FhI7gEOHGBRqCEMJqduw8qt45H7JXHkA+8bPKSt3ej9FvfakMcGxvC0K0tkqASD8jO 3dDlpnD05rDl38MDdo87K1nObUXIeVxo6hbRgN6Jw5gz32FAJ25JOUo51pbDS4A2O+81 CK7BZlhJHvAFjjIQbyepzq0ZTppgI7QWczo8mziPJv7VZz5a9poubys2t4/HM04iTBNq 0wzkR9raUBU87XzfDqhQnddgIrek62TpeLTeOKH/srDsaTSwrPbsXER4T9wJMeUmZI8T kZYzJATHxKrnxv2xrkaHNp+93g0wdU86mWAIFRRaZSsZxNRp+WIhqr06sxOmC462aT8Y 8DeQ== X-Gm-Message-State: ACgBeo3ok0N6AgnSX1ZcclxcPVXcVgrqztUOhz90fofv6BFQLNow0YyM lk1ZxwrV8woJdL3B8x9IHINU1alDhdE= X-Google-Smtp-Source: AA6agR7S6KGv/EGTWlE8Wdmg14Dv2b0uLjPF+gfAeOKPmC+G2lKjzesfO6MAv5qC7FhWr39mff0HuQ== X-Received: by 2002:adf:f543:0:b0:228:c692:127a with SMTP id j3-20020adff543000000b00228c692127amr21329204wrp.246.1663150220994; Wed, 14 Sep 2022 03:10:20 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:16a0:9848:d23c:7dcb]) by smtp.gmail.com with ESMTPSA id m23-20020a05600c3b1700b003b477532e66sm5867116wms.2.2022.09.14.03.10.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 03:10:20 -0700 (PDT) In-Reply-To: (uzibalqa@proton.me's message of "Tue, 13 Sep 2022 21:07:57 +0000") Gmane-Reply-To-List: yes Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=rpluim@gmail.com; helo=mail-wr1-x434.google.com 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, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:139456 Archived-At: >>>>> On Tue, 13 Sep 2022 21:07:57 +0000, uzibalqa said: uzibalqa> ------- Original Message ------- uzibalqa> On Tuesday, September 13th, 2022 at 3:28 PM, Gregory Heytings wrote: >> > I get >> > >> > (((geometry 1080 1152 1366 768) (workarea 1080 1152 1311 768) (mm-size >> > 344 194) (frames #) (source . "Gdk")) >> > ((geometry 0 0 1080 1920) (workarea 0 0 1080 1920) (mm-size 477 268) >> > (frames #) (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 --