From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrew Tropin Newsgroups: gmane.emacs.bugs Subject: bug#53969: 29.0.50; display frame parameter set incorrectly on pgtk Date: Mon, 14 Feb 2022 13:42:09 +0300 Message-ID: <87zgmtbugu.fsf@trop.in> 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> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26359"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 53969@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 14 11:43:42 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 1nJYpa-0006dc-Fg for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Feb 2022 11:43:42 +0100 Original-Received: from localhost ([::1]:39868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJYpY-0008A4-Fy for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Feb 2022 05:43:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJYpB-00087r-Ex for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 05:43:19 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46056) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJYow-0001Jf-0j for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 05:43:12 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nJYov-0002DS-VD for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 05:43:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Feb 2022 10:43: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.16448353428455 (code B ref 53969); Mon, 14 Feb 2022 10:43:01 +0000 Original-Received: (at 53969) by debbugs.gnu.org; 14 Feb 2022 10:42:22 +0000 Original-Received: from localhost ([127.0.0.1]:39949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJYoI-0002CJ-7Y for submit@debbugs.gnu.org; Mon, 14 Feb 2022 05:42:22 -0500 Original-Received: from mail-lj1-f172.google.com ([209.85.208.172]:36522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJYoG-0002C6-1f for 53969@debbugs.gnu.org; Mon, 14 Feb 2022 05:42:21 -0500 Original-Received: by mail-lj1-f172.google.com with SMTP id w6so1491062ljj.3 for <53969@debbugs.gnu.org>; Mon, 14 Feb 2022 02:42:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=AQ7a8KdUdQtlrd8tn1hawQn600gh9LllaXn9u5/D/xE=; b=lqQQ1+d/Jzvn01CSqN+EQy4iAIKc1vUk2bFdoBTlzgU9W8LfYUVzNA1nit5oT/DjJv l0HrPEr4fwAR31UQ1ooNc95abSO1RZHsbSBOMCrtaURR2bbyvVv0CJ6q/5qtE59OZB1f 07qUqYms/0KPeznRGyKb/+KKK+fHzju50eMsRQTBj0o8C3UwYBYSYpLpvA4RN7TS0G8d Jl2Emuw3uQmXYkCSMohyjlb4q9jZOYFagsaJ4TQCWgscFKo+8zt11Mmwhdrao/8dorLU RMdMYMkNlNyAc8nSNaXWspMSyIFgul5/WmZwGPKnDL9mVsbyRx03mR1x+iL46NMAHy4C 3Q0A== 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:in-reply-to:references:date :message-id:mime-version; bh=AQ7a8KdUdQtlrd8tn1hawQn600gh9LllaXn9u5/D/xE=; b=C+JPLrI5l3Xecd32LVAhnLJWw6A2i7WTH3yqQZ/SVDsEjcMMPhpMyfxGiz3OHPncN3 b1UcoEX+qXlHNBIPB2vzQXf5WObqIqigVoP076BgE8bg3qiKAUIUp00zqbHmXP08ARwz CiKNJFNp7+HLx4DYhshG5P5nFqBa0lnFc0q9vV6psRe2k5y3cwdUWY1iGBsNuuS14iB7 UzUBdLCLYTR+2fZuaLB5SW6b+Uh5FG12BMH89tZgfuvAFckPrPQeSMuoeWh8NngdfOq/ 89VOdqrwmf2ITo5238uhhCaIhbvP4sRkERElAXILpdB9uaR6NiiCyr3ExkMNY04wd3pR NelQ== X-Gm-Message-State: AOAM532q+JGCg2RtiZ9Qb9PoROKlA3ntuE+JzLQx3F0GIT02C3U1Teg5 RNyvjS4YqF+gURMI9EwkUL5/8w== X-Google-Smtp-Source: ABdhPJw+mRLuq6sTsbCdKBW6loj+q2o9zzrnLE6rPscEyeOKzNcG7DhAe3stywHRX1GIwVsG+Q9w2w== X-Received: by 2002:a2e:8813:: with SMTP id x19mr4564455ljh.246.1644835333806; Mon, 14 Feb 2022 02:42:13 -0800 (PST) Original-Received: from localhost ([91.228.246.230]) by smtp.gmail.com with ESMTPSA id w5sm442311lfr.100.2022.02.14.02.42.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 02:42:13 -0800 (PST) In-Reply-To: <8735kmhx43.fsf@yahoo.com> 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:226870 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2022-02-14 12:48, Po Lu wrote: > Andrew Tropin writes: > >> That's right, emacsclient has a wrong display value. > > Could you attach a debugger to emacsclient, and set a breakpoint at this > bit of lib-src/emacsclient.c: > > =3D> if (display && !display[0]) > display =3D NULL; > > And show the value of `display'? I hope I did everything correctly: Breakpoint 1, decode_options (argc=3D2, argv=3D0x7fffffffcbd8) at emacsclie= nt.c:625 625 if (display && !display[0]) (gdb) p display $7 =3D 0x7fffffffe926 "wayland-1" The same binary started from terminal: ./lib-src/emacsclient --eval '(x-display-list)' ("wayland-0") =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJDBAEBCgAtFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmIKMgEPHGFuZHJld0B0 cm9wLmluAAoJECII0glYwd6wFIMP/iZi1KiRuSIYIxuKMTSrWnxONLq4GnVYOveJ S7BFJSla486yVk/jFkAw3U63sUYNKWtESSZhmp/FxghR6GqjouKNTddaev9VpAcD FsJbsfmwzFG9pvYW0W1motzI2ZZGq6GflVM1UVdUIQQjfrKnbJNT+YTBQxfshD8i dl5G6n8uD825DIYpvkjSE33ZmKEEOFApbmAyvegf+ObJTOFASCWrITmGaR+FfzzS bA182bQL29srqMwFY9pExyHAj6M7vSGycW5gHxwdgie8T6ETEmI+jsa8RxCKyulE /d42+D5X+ByFMDLQzFO8G8j1HF5R3L7yv4N7qYU+hzunTArLiqt2keGogB9/OOWs JiQM8kor4o/O9E8ihANyRfIcsdwVDgSuP8JQ1ff0Rfs7jyeLNearYU0+Bw5H4qc9 SsnIIS0iQ/qCRLiCS7VQzGxZAVXAFSKQJagiQW7h0t6KqbXpqq/YPoGAezEQdOwx qx5Q1D8WR91ej5iJADeDR5aKFwujRVGvdJNe7OYo07+6dMpU4Mgx/yyBaROnEi8C FG/jm3m3JJdFD0brCLxLPNmUiVpWJBualVher6l1OyJH/PiLEEYnckn/0B+QZ8CX eVpHgZ7mfLFkOxt9gcbwsLSDAW4kG30qY1S27vkVJGGZsiBzbC8qpdlrGhlUgOVF dTH3PmfO =V/Sx -----END PGP SIGNATURE----- --=-=-=--