mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-17 13:33:36 -05:00
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:
@@ -17,7 +17,9 @@
|
||||
(transient . t)
|
||||
,@(when IS-LINUX
|
||||
`((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)))
|
||||
"TODO")
|
||||
|
||||
|
Reference in New Issue
Block a user