--- Begin Message ---
Subject: |
[PATCH] Use correct env var when opening frames with freedesktop menu entries |
Date: |
Thu, 24 Aug 2023 20:32:47 +0200 |
Tags: patch
When Emacs is built with PGTK, frames opened with the
emacsclient.desktop entry are opened as X11 windows instead of
Wayland.
This patch adds a sed command to the Makefile that replaces the
environment variable "$DISPLAY" with "$WAYLAND_DISPLAY" when built
with PGTK.
In GNU Emacs 30.0.50 (build 32, x86_64-pc-linux-gnu, GTK+ Version
3.24.38, cairo version 1.17.8) of 2023-08-24 built on T480s
Repository revision: 3907c884f03cf5f2a09696bda015b1060c7111ba
Repository branch: master
System Description: Arch Linux
Configured using:
'configure -C --prefix /home/davide/.local --with-pgtk
--with-native-compilation --enable-link-time-optimization
--enable-locallisppath=/usr/share/emacs/site-lisp/
'CFLAGS=-march=native -O2''
0001-Use-correct-env-var-when-opening-frames-with-freedes.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#65509: [PATCH] Use correct env var when opening frames with freedesktop menu entries |
Date: |
Fri, 15 Sep 2023 14:34:29 +0300 |
> From: Po Lu <luangruo@yahoo.com>
> Cc: dm@mssdvd.com, stefankangas@gmail.com, 65509@debbugs.gnu.org
> Date: Fri, 15 Sep 2023 15:44:02 +0800
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Why is it not safe?
>
> Because there was previously no problem with the X build under Emacs 29,
> and using --reuse-frame there would chance introducing one.
OK, installed on emacs-29 and closing the bug.
Thanks.
--- End Message ---