Subject: bug#53969: 29.0.50; display frame parameter set incorrectly on pgtk

From: Andrew Tropin <[email-masked]>
Date: Sun, 13 Feb 2022 21:47:06 +0300

On 2022-02-13 19:55, Po Lu wrote:

> Andrew Tropin <[email-masked]> writes:
>
>> I can't change this frame parameter manually with set-frame-parameter or
>> similar function, calling it doesn't change anything.
>
> That's intentional, as it makes no sense to set the display parameter.
>

Sure, it's expected, just letting everyone know that it can't be
workarounded easily.

>> This makes browse-url unusable because it presets WAYLAND_DISPLAY
>> based on the value of this parameter.
>>
>> Also, setting DISPLAY, WAYLAND_DISPAY or display for emacsclient doesn't
>> change anything as well.
>>
>> WAYLAND_DISPLAY=wayland-1 emacsclient -c --display=wayland-1
>
> Would you please show the result of evaluating "(x-display-list)"?
>
> Thanks in advance.

Output of (x-display-list)

emacs: ("wayland-1")
emacsclient: ("wayland-0")

I have only one wayland session, which is "wayland-1".

-- 
Best regards,
Andrew Tropin