Don't touch WAYLAND_DISPLAY in browse-url
* lisp/net/browse-url.el (browse-url): Don't touch WAYLAND_DISPLAY. (bug#53969)
This commit is contained in:
parent
35928918d1
commit
441ce4672d
1 changed files with 5 additions and 1 deletions
|
@ -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)))))
|
||||
|
|
Loading…
Add table
Reference in a new issue