* bug#66175: Cannot create graphical frame using emacsclient -c when using pgtk
@ 2023-09-23 16:22 Jonas Møller via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 0 replies; only message in thread
From: Jonas Møller via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-09-23 16:22 UTC (permalink / raw)
To: 66175
[-- Attachment #1: Type: text/plain, Size: 738 bytes --]
Hi, when using the old X11 GTK3 build of Emacs I was able to run emacs --daemon, then create new graphical Emacs frames with emacsclient -c.
Now-- with pgtk-- running emacsclient -cwill always create a console frame. With the DISPLAY environment variable defined, it also produces a warning about using the pgtk build on X11.
I think the logic for deciding whether or not to start a graphical or terminal frame needs to be revisited with Wayland/pgtk in mind.
Also Wayland systems will still often define DISPLAY, for compatibility with any legacy X11 apps that may need it. So checking for the existence of this env variable is not a sound strategy for deciding whether that warning about running on X11 should be emitted.
[-- Attachment #2: Type: text/html, Size: 1904 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-23 16:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-23 16:22 bug#66175: Cannot create graphical frame using emacsclient -c when using pgtk Jonas Møller via Bug reports for GNU Emacs, the Swiss army knife of text editors
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).