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: Mon, 21 Feb 2022 13:58:12 +0100 Message-ID: <87r17wjs0r.fsf@gmail.com> References: <87tut6kj72.fsf@gmail.com> <87ley5r5qs.fsf@gnus.org> <87ilt9mhu1.fsf@gmx.net> <874k4slb9d.fsf@gmail.com> <87sfscfoh0.fsf@yahoo.com> <87h78sfnn0.fsf@yahoo.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="25347"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44961@debbugs.gnu.org, Lars Ingebrigtsen , Stephen Berman To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 21 14:37:14 2022 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 1nM8sM-0006Sy-Of for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 14:37:14 +0100 Original-Received: from localhost ([::1]:54982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nM8sL-000387-J9 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 08:37:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nM8HP-0000k1-4E for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 07:59:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41430) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nM8HN-0002JC-Uk for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 07:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nM8HN-0007UO-UZ for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 07:59: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: Mon, 21 Feb 2022 12:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44961 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 44961-submit@debbugs.gnu.org id=B44961.164544830228743 (code B ref 44961); Mon, 21 Feb 2022 12:59:01 +0000 Original-Received: (at 44961) by debbugs.gnu.org; 21 Feb 2022 12:58:22 +0000 Original-Received: from localhost ([127.0.0.1]:35327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nM8Gk-0007TW-23 for submit@debbugs.gnu.org; Mon, 21 Feb 2022 07:58:22 -0500 Original-Received: from mail-wm1-f42.google.com ([209.85.128.42]:41833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nM8Gi-0007TJ-Dk for 44961@debbugs.gnu.org; Mon, 21 Feb 2022 07:58:20 -0500 Original-Received: by mail-wm1-f42.google.com with SMTP id q9-20020a1ca709000000b0037fa5c3e5c1so573729wme.0 for <44961@debbugs.gnu.org>; Mon, 21 Feb 2022 04:58:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=cIRZ0lsyH+6R78rDolcunfkFbZ06jNnJuQeX8lJKUZI=; b=HtV0w19Z/4f7jca4wC41bQCMSX08W4SBrXT685jXfECQgZftrDO9YbbuWtHZIozz6u 7j6xsol1DAkwHjgMx3pMlVbw4/UDScfKUNMudADWtQYZK5j8dicUZEhOOxwarBk5cmrJ /kwYi/2i2KIDrv3Os0a2/+LnMa7Bm8TgibiZ9G6byBMIk/w0xE22ElaCBVSxSOpyjqnn baV3+D+b6K2OUVpEHiXyqva9jbq3aRdVy5OYKWgdq9D5KJc4YuGCCcK71uvyhPJ9KsKc 3wjFBx1f845z3dvsxuPmV6o94Icbe54x0sndPHKYcma/+YJoLGcQ2uGOAIQu+KutOl+S gPIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=cIRZ0lsyH+6R78rDolcunfkFbZ06jNnJuQeX8lJKUZI=; b=G3IWYKIvDJmtNj/66xjHHt3g5l2sb/NBx69fnCdkuUZGr0fBsKHX8hP8tu8HmU1y9B qbVHPOUfnTZLslyD2T+yq7ZASxzfuy9dGkDI/dk8/gv7ET0pM/eM7pA/jEIzf5jQCH4N McPQup0KztUlnoIhW1Zb+j1vCHFwgreu4S3G2ZHQkWzK5GFjEdUbRlJx9wbmnllfJDlY CckxblqlQ8KhTirbG/LUXRpmHvYIyyqv+FF35OujUgP1N9fDs7/v93aUiTTwi4YJ9ptg 3A7jeME4ZXo/RsXVqUFeACvKIEPtTZFSK/wEPYYYXPrZ5uXg79PFvsuY6YoofXmEL/uA AO7g== X-Gm-Message-State: AOAM53014HefA7l4jZNGcnezx6ypqrJMv/Hybho8DRxHMeM3fVE8WOB5 546pj2Dl80+n7UEPl8h+u6k= X-Google-Smtp-Source: ABdhPJxQdIKdj9VmcpVio7TqUSONdb2I7DK6CXa0CqY5Yfe3F8ptL+mTOxE4QxI0vXng5siMELIVDw== X-Received: by 2002:a1c:e916:0:b0:37c:f44f:573 with SMTP id q22-20020a1ce916000000b0037cf44f0573mr21663137wmc.179.1645448294432; Mon, 21 Feb 2022 04:58:14 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:ab2f:e33d:8961:3965]) by smtp.gmail.com with ESMTPSA id bk5sm36565910wrb.10.2022.02.21.04.58.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 04:58:13 -0800 (PST) In-Reply-To: <87h78sfnn0.fsf@yahoo.com> (Po Lu's message of "Mon, 21 Feb 2022 19:46:27 +0800") 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:227328 Archived-At: >>>>> On Mon, 21 Feb 2022 19:46:27 +0800, Po Lu said: Po> Po Lu writes: >> Could you tell the result with an undecorated frame? Po> Nevermind, it's there to trick programs which rely on coordinates to Po> determine tiling state to think that the window is not tiled at the= top Po> left corner when it's not maximized (or otherwise tiled that way.) Po> Should we respect that information from GTK? WDYT? Respect which information from GTK? If reporting (0 . 0) for undecorated and fullboth frames and a fixed value for decorated frames works, then I see no problem with it (although I don=CA=BCt run pgtk as my daily driver, so perhaps there are other issues). The frame positioning portions of desktop.el and similar are doomed under Wayland in any case. Robert --=20