GNU bug report logs - #53969
29.0.50; display frame parameter set incorrectly on pgtk

Previous Next

Package: emacs;

Reported by: Andrew Tropin <andrew <at> trop.in>

Date: Sun, 13 Feb 2022 11:16:01 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andrew Tropin <andrew <at> trop.in>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 53969 <at> debbugs.gnu.org
Subject: bug#53969: 29.0.50; display frame parameter set incorrectly on pgtk
Date: Mon, 14 Feb 2022 13:42:09 +0300
[Message part 1 (text/plain, inline)]
On 2022-02-14 12:48, Po Lu wrote:

> Andrew Tropin <andrew <at> trop.in> 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:
>
> => if (display && !display[0])
>      display = NULL;
>
> And show the value of `display'?

I hope I did everything correctly:

Breakpoint 1, decode_options (argc=2, argv=0x7fffffffcbd8) at emacsclient.c:625
625	  if (display && !display[0])
(gdb) p display
$7 = 0x7fffffffe926 "wayland-1"


The same binary started from terminal:

./lib-src/emacsclient --eval '(x-display-list)'
("wayland-0")

-- 
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 50 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.