1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00

Apply --display kluge for PGTK too

* src/emacs.c (main): The --display option needs the same handling
with the PGTK backend as it does with the X11 backends.  (Bug#72118)
This commit is contained in:
Peter Oliver 2024-07-14 21:50:33 +01:00 committed by Eli Zaretskii
parent 5c9de704cc
commit 8a072d1f05
2 changed files with 3 additions and 3 deletions

View file

@ -5181,7 +5181,7 @@ extern void syms_of_frame (void);
extern char **initial_argv;
extern int initial_argc;
extern char const *emacs_wd;
#if defined (HAVE_X_WINDOWS) || defined (HAVE_NS)
#if defined (HAVE_X_WINDOWS) || defined (HAVE_PGTK) || defined (HAVE_NS)
extern bool display_arg;
#endif
extern Lisp_Object decode_env_path (const char *, const char *, bool);