Subject: bug#65509: [PATCH] Use correct env var when opening frames with freedesktop menu entries

From: Davide Masserut <[email-masked]>
Date: Thu, 07 Sep 2023 11:37:02 +0200

Po Lu <[email-masked]> writes:

> Eli Zaretskii <[email-masked]> writes:
>
>>> From: Davide Masserut <[email-masked]> Cc: Stefan Kangas
>>> <[email-masked]>, Eli Zaretskii <[email-masked]>,
>>>  [email-masked] Date: Wed, 06 Sep 2023 16:01:58 +0200
>>>
>>> It turns out that Emacs 29 has new CLI option that solves exactly
>>> these problems.
>>>
>>> The attached patch replaces the usage of --display=$DISPLAY with
>>> --reuse-frame.
>>
>> Po Lu, any objections to installing this on emacs-29?
>
> Yes.  Davide, would you please rewrite the patch so that your change
> is only applied to the PGTK port?

Sure.  Is there any risk regarding multi-user setups or something like that?