fix(org): check WAYLAND_DISPLAY for bin/org-capture
Check WAYLAND_DISPLAY for +org-capture-frame-parameters. PGTK emacsclient also uses this logic. Ref: masm11/emacs#13
This commit is contained in:
parent
714aeb0629
commit
b5e9f58db6
1 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,9 @@
|
||||||
(transient . t)
|
(transient . t)
|
||||||
,@(when IS-LINUX
|
,@(when IS-LINUX
|
||||||
`((window-system . ,(if (boundp 'pgtk-initialized) 'pgtk 'x))
|
`((window-system . ,(if (boundp 'pgtk-initialized) 'pgtk 'x))
|
||||||
(display . ,(or (getenv "DISPLAY") ":0"))))
|
(display . ,(or (getenv "WAYLAND_DISPLAY")
|
||||||
|
(getenv "DISPLAY")
|
||||||
|
":0"))))
|
||||||
,(if IS-MAC '(menu-bar-lines . 1)))
|
,(if IS-MAC '(menu-bar-lines . 1)))
|
||||||
"TODO")
|
"TODO")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue