From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#53969: 29.0.50; display frame parameter set incorrectly on pgtk Date: Wed, 30 Mar 2022 13:34:57 +0800 Message-ID: <87a6d8xata.fsf@yahoo.com> References: <87fsondnlr.fsf@trop.in> <87v8xjj7zn.fsf@yahoo.com> <875ypid2ol.fsf@trop.in> <87leyei6gk.fsf@yahoo.com> <8735kmcful.fsf@trop.in> <8735kmhx43.fsf@yahoo.com> <87zgmtbugu.fsf@trop.in> <87r185hgdw.fsf@yahoo.com> <87wnhxbjoa.fsf@trop.in> <87czjpeydq.fsf@yahoo.com> <875yofwgdq.fsf@gnus.org> <87k0cvs6am.fsf@yahoo.com> <87mth8qanr.fsf@trop.in> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2252"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Lars Ingebrigtsen , 53969@debbugs.gnu.org To: Andrew Tropin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 30 07:36:44 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 1nZR0e-0000Ss-9u for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Mar 2022 07:36:44 +0200 Original-Received: from localhost ([::1]:58366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZR0c-0005fb-Rn for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Mar 2022 01:36:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZQzy-0005dD-03 for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2022 01:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZQzx-0001Tj-LZ for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2022 01:36:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nZQzx-0003g7-JS for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2022 01:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Mar 2022 05:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53969 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 53969-submit@debbugs.gnu.org id=B53969.164861851514083 (code B ref 53969); Wed, 30 Mar 2022 05:36:01 +0000 Original-Received: (at 53969) by debbugs.gnu.org; 30 Mar 2022 05:35:15 +0000 Original-Received: from localhost ([127.0.0.1]:34225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZQzC-0003f5-Qc for submit@debbugs.gnu.org; Wed, 30 Mar 2022 01:35:15 -0400 Original-Received: from sonic313-10.consmr.mail.ne1.yahoo.com ([66.163.185.33]:36727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZQzA-0003en-N1 for 53969@debbugs.gnu.org; Wed, 30 Mar 2022 01:35:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1648618506; bh=8u0afEPVoSqOv+I2Nf4SGBMUk7ztf17YESfJmMAYexg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Zrw+F9wna9afKP87fgWzUp7rixydxXC0kq/Aw7IUzAvZ4IGI5vNHDiOc6KQNRe24e1RvImnrkm2DBCpcOeRHcQgsaUcAXv+ynWfSpgqIuP2wMBqyFsqJVZPoC+X9C7oMvbeMj+7sX7NriYEFjJnhR/GtgqYhWhfwLnGBhLP1ZJwyM3z6KGAKi6evc70sSkO9nQklXV9zh/TgUCJ0nNdiScSH7p7umk4oQcERbjnmAYnBtigIv00H731E6/W4oHFqClitLUcYHdoOP/wZKw+LKZcdnxza5URU/+EdOg9yvCUjVGdxjkn3gNZUwFnO1z9xiid5yFpvQfUL7rODaOGhbg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1648618506; bh=eLBZ6b78odcvZj/n+UcA1lSpTuZ+xTQccaU7gC31Yc0=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=A9EwYx9aGRd9Wp3tGZ1SQqJOjcXgPp4hVLA0oUYzj3W0raETzRUWk7IRksiisYSgP4BOrCU+fbiv8//bd2EfsFur9ct7k0WEOxT520CsCiDHPZG3rHM3g9/2z5fGT/jb9Dyd4GcHKLgLhPMZVGHGjFTIKsdf+SuP1vE11NRSoGrY7lYuZ570LBM6v49fIjZ0Ur+8iO32mu/dd8tNZ0mT6HbAYASLn8SvN2xu7pC4/evzXWcnSmYi655g7XEfQvcbC4tLviocyzyQMMqrxtC6seX9TQqgdJwgAe5oOBTGC5O/6/RujdnZNGijakr+eTRVVH0g6cI/3iZmvssds3INNQ== X-YMail-OSG: aajbgqEVM1ms756N08R5L7_GQS8YYC.KzUfRN_Ql78YFo3kp8MyTksrH5Nx52Br S7A4.uKFqqZQ5sPtkJmMKQfQxK3gC7dOZ7hoSjoPBB9xTnfeD3RkxpMbkOUWXjPJ4Ba3R_jwg7LP 1.uIQEBToSDzAdmEsueLTbvWcxvERD2ZgkUuEJxjP5JaEwyDmyICKkRMdaWxjIc2dDR_U0zdkb9V YqY2yVA4RtVrReAzEidUSRYVZ.W6Z6lgZ5ItcgacnvBXHQV5qSw9Rqap1uLQ328ueHCJ1iB6VxPf G_XMvYUyhS6acsMXx8VqEq85307wD3MhNmmHlIHqIbtzopRSDZredSeNlHuMEA7Ah59eJhIkdlvk iAYSxYFvasjYEhE3IfFaQa9ntqcSZOGMt2ukJBbxPOP6wth21zytghhgUiDXIoNB8gS2WXzQw4eY ryrKERljaDvCWXKc4rq_ot9K9dZEvLvT1jDdKsDIyxUKA_TGoSxRkMeUcKILB.Hr6EqNCs8AA7Kk OVX0ihwtNq4N5.B_KXWOJdXczwsy91Du3vkauqnhYp8ftTxgvcADj7YIcHyhogrgH6nLRbkLAQTf UfAw.N6pCQ9gOAEqOMV9NJZH1MomHbdwFTcYkMXawZDKTfVhNL9tK.6sepj0shPKExZkQzL8gIPf O0c5MBjhu2cA.F9GUfk2BX7IEyfc9zwi3SgCRZoANtcZtjGFgSY0lu5yRAkNdtBmHtvV_iATHwpK 5pALrYsEpmkKPZQnCXf7YpJWva1q8ZrbPPTZiuJ3KngDkO61O7QgPlu48Sl2hihmme4Ks.KNud1t 5JB1wFUo15BrlDqco8MBnfVetsfufsoLWW9gBGDYxM X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Wed, 30 Mar 2022 05:35:06 +0000 Original-Received: by hermes--canary-production-bf1-665cdb9985-x6p65 (VZM Hermes SMTP Server) with ESMTPA ID b650811def7d815b7acef15274d26dff; Wed, 30 Mar 2022 05:35:01 +0000 (UTC) In-Reply-To: <87mth8qanr.fsf@trop.in> (Andrew Tropin's message of "Wed, 30 Mar 2022 08:20:08 +0300") X-Mailer: WebService/1.1.20001 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:229093 Archived-At: Andrew Tropin writes: > On 2022-03-15 21:18, Po Lu wrote: > >> Lars Ingebrigtsen writes: >> >>> Nobody had any comments in a month, and I've just skimmed this bug >>> report -- but was this fixed in 61a038bec0fe, or was that another >>> problem? >> >> This is probably another problem, I'll fix it soon and close the bug. >> Thanks for bringing it up. > > Hi Po, > > Can you take a look at this issue, please? It shouldn't take long. Ah, thanks for reminding me, I almost forgot. Is this enough? diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 776f774172..4c348781a8 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el @@ -851,7 +851,11 @@ browse-url ((featurep 'pgtk) (setq classname (pgtk-backend-display-class)) (if (equal classname "GdkWaylandDisplay") - (setenv "WAYLAND_DISPLAY" dpy) + (progn + ;; The `display' frame parameter is probably wrong. + ;; See bug#53969 for some context. + ;; (setenv "WAYLAND_DISPLAY" dpy) + ) (setenv "DISPLAY" dpy))) (t (setenv "DISPLAY" dpy))))) And I'm terribly sorry for the delay.