emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 441ce4672d: Don't touch WAYLAND_DISPLAY in browse-url


From: Po Lu
Subject: master 441ce4672d: Don't touch WAYLAND_DISPLAY in browse-url
Date: Sun, 3 Apr 2022 03:24:07 -0400 (EDT)

branch: master
commit 441ce4672d4aab14d1bef078692fec7ad4ff0c0a
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Don't touch WAYLAND_DISPLAY in browse-url
    
    * lisp/net/browse-url.el (browse-url): Don't touch
    WAYLAND_DISPLAY.  (bug#53969)
---
 lisp/net/browse-url.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index 776f774172..4c348781a8 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -851,7 +851,11 @@ If ARGS are omitted, the default is to pass
          ((featurep 'pgtk)
           (setq classname (pgtk-backend-display-class))
           (if (equal classname "GdkWaylandDisplay")
-              (setenv "WAYLAND_DISPLAY" dpy)
+              (progn
+                ;; The `display' frame parameter is probably wrong.
+                ;; See bug#53969 for some context.
+                ;; (setenv "WAYLAND_DISPLAY" dpy)
+                )
             (setenv "DISPLAY" dpy)))
          (t
           (setenv "DISPLAY" dpy)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]