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

Johan Myréen <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <CA+TD5hhyZye5M4y9S=qhK7rX41e4SUnhnu94nS1qZLQ9Z72JWA@mail.gmail.com>
What do you think?


Since nobody has commented on this for a while, I'll give my input on this
matter. The proposed patch looks good to me, and is certainly an
improvement to the status quo. The correct values for the DISPLAY and
WAYLAND_DISPLAY variables for processes started from the emacsclient frame
should definitely be based on the environment of the emacsclient process,
not the emacs server process. The server is not a reliable source of this
information.

The environment of the client process is transferred to the server, and the
server uses this to determine how to display the frame requested by the
client. However, this information is currently not conveyed to subprocesses
started in the emacsclient frame, but the proposed patch fixes this.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.