diff options
| author | Po Lu | 2022-04-03 15:23:01 +0800 |
|---|---|---|
| committer | Po Lu | 2022-04-03 15:23:27 +0800 |
| commit | 441ce4672d4aab14d1bef078692fec7ad4ff0c0a (patch) | |
| tree | 5c7f90b1af9817ae6ee7cfaf8966247dd79e6b5b /lisp | |
| parent | 35928918d1406e61a982e7a036cc6c441484b4cc (diff) | |
| download | emacs-441ce4672d4aab14d1bef078692fec7ad4ff0c0a.tar.gz emacs-441ce4672d4aab14d1bef078692fec7ad4ff0c0a.zip | |
Don't touch WAYLAND_DISPLAY in browse-url
* lisp/net/browse-url.el (browse-url): Don't touch
WAYLAND_DISPLAY. (bug#53969)
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/net/browse-url.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 776f774172f..4c348781a8c 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 | |||
| 851 | ((featurep 'pgtk) | 851 | ((featurep 'pgtk) |
| 852 | (setq classname (pgtk-backend-display-class)) | 852 | (setq classname (pgtk-backend-display-class)) |
| 853 | (if (equal classname "GdkWaylandDisplay") | 853 | (if (equal classname "GdkWaylandDisplay") |
| 854 | (setenv "WAYLAND_DISPLAY" dpy) | 854 | (progn |
| 855 | ;; The `display' frame parameter is probably wrong. | ||
| 856 | ;; See bug#53969 for some context. | ||
| 857 | ;; (setenv "WAYLAND_DISPLAY" dpy) | ||
| 858 | ) | ||
| 855 | (setenv "DISPLAY" dpy))) | 859 | (setenv "DISPLAY" dpy))) |
| 856 | (t | 860 | (t |
| 857 | (setenv "DISPLAY" dpy))))) | 861 | (setenv "DISPLAY" dpy))))) |