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.bugs Subject: bug#44961: 28.0.50; [feature/pgtk] frame-position returns incorrect information Date: Tue, 01 Dec 2020 10:15:55 +0100 Message-ID: <87pn3tkhtg.fsf@gmail.com> References: <87tut6kj72.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="27831"; mail-complaints-to="usenet@ciao.gmane.io" To: 44961@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 01 10:17:36 2020 Return-path: Envelope-to: geb-bug-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 1kk1mx-000749-8I for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Dec 2020 10:17:35 +0100 Original-Received: from localhost ([::1]:56016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kk1mv-0002Mr-TB for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Dec 2020 04:17:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kk1mQ-0002Mg-R7 for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2020 04:17:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46234) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kk1mP-0001Rq-PI for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2020 04:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kk1mP-0005hR-Kj for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2020 04:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Dec 2020 09:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44961 X-GNU-PR-Package: emacs Original-Received: via spool by 44961-submit@debbugs.gnu.org id=B44961.160681416419188 (code B ref 44961); Tue, 01 Dec 2020 09:17:01 +0000 Original-Received: (at 44961) by debbugs.gnu.org; 1 Dec 2020 09:16:04 +0000 Original-Received: from localhost ([127.0.0.1]:57779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk1lU-0004z9-AH for submit@debbugs.gnu.org; Tue, 01 Dec 2020 04:16:04 -0500 Original-Received: from mail-wm1-f44.google.com ([209.85.128.44]:54494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk1lS-0004sh-V8 for 44961@debbugs.gnu.org; Tue, 01 Dec 2020 04:16:03 -0500 Original-Received: by mail-wm1-f44.google.com with SMTP id d3so1700380wmb.4 for <44961@debbugs.gnu.org>; Tue, 01 Dec 2020 01:16:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:mail-copies-to:gmane-reply-to-list:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=gMJvcuPE1ddreKq6AcI314r4Mg5QIMU4UM2dOppkHlg=; b=XC2l2adk/8nw2o4C54VQRlwORlDym0haWU7y2GlGV7V04DlgFndEkQIn3Nr+tUPVbc bc4EMzH2CCPn/+kCeRF9uPPrAt8vek8t4sQlLphbZMFrfNd/eE7B1jw+DTOVAreqESfT Tt3hJJpraMullacwAjg4ysKyNiltbx+sH0/Tz2lBNiFFcbR4aahnUiAW43GJm9LeoBQp YJSp/EKdA/OzWUYg+TDC36eeMMBeoP4LVMCNhxzUaLbUGg4WKipNLnVYqQ52LFtOcUK/ FqqMs/7pTJvlDK88fmJckbpUYifS2XJ+ujd4FVZOKXTG1aS71FsH+mgQ6CPpI3BjQ1r0 Rt6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=gMJvcuPE1ddreKq6AcI314r4Mg5QIMU4UM2dOppkHlg=; b=IQDFnz9sTfnSvnwgJXniqpPO2rHqzHyzbYO5/bPoOoIHFAU5VJ7IWzwRJc2PIYsDnq 3G7uWI0dfUSUPI1g0k7YaNPEcQh4tD25PmpH7oAHS9aBXTsy1T8j9BJ2mGrkZyGEv6CT 2TUdRHQVlA6bEu8Q+IQhgVknxyn1pkV5eNMsOe2R4CHSx8E5wCFKFyyO5yHeChQHGVZT nwwWj1KhCmGk/PcqAU2qRZlH8jcxx4sV8qg3YJKfcyJ5ZsXmS5xgW5rTH6FY3V3oxsQj olY4VPugV7ecaB/GDcbTpD0M+Cj+O2hXqPgrmrc2bPoTca2PjlsceZ5vDbBkIm6tRlGu EUGw== X-Gm-Message-State: AOAM531LWdur8vwp1It7uSfWMEGLWtM8wfc/wZAlyBAHvS8wMDRP/yGn rFfS1dtVewY4xiWLeXRKfhcJCiMLyIw= X-Google-Smtp-Source: ABdhPJy/N7XmUEe/nlE0VcP0Ad0fFCNPP8XNQVUiWbVA2AXgXLnMwY2VyXA5/JA11SqGz6EkYBXSRQ== X-Received: by 2002:a1c:2b05:: with SMTP id r5mr1617017wmr.179.1606814156571; Tue, 01 Dec 2020 01:15:56 -0800 (PST) Original-Received: from rltb ([2a01:e34:ecfc:a860:f85a:6157:64a6:f622]) by smtp.gmail.com with ESMTPSA id k11sm1922313wrv.88.2020.12.01.01.15.55 for <44961@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2020 01:15:55 -0800 (PST) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87tut6kj72.fsf@gmail.com> (Robert Pluim's message of "Mon, 30 Nov 2020 15:33:53 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:194716 Archived-At: Robert Pluim writes: > This is under Gnome Shell on Debian 10, which I think uses mutter as a > window manager: > > ./emacs -Q # The frame is near the top-left, I move it to the right botto= m quadrant > (pgtk-backend-display-class) =3D> "GdkWaylandDisplay" > (frame-position) =3D> (0 . 0) > > GDK_BACKEND=3Dx11 ./emacs -Q > (pgtk-backend-display-class) =3D> "GdkX11Display" > (frame-position) =3D> (0 . 0) > > ./emacs -Q # emacs master branch > (frame-position) =3D> (2136 . 549) > > (also `set-frame-position' doesn=CA=BCt work, even though I see it calling > gtk_window_move. I can open a separate report for that) And a side effect of this is that specifying things like 'top or 'left in 'default-frame-alist' don=CA=BCt affect the positioning of frames. Robert