about summary refs log tree commit diff
path: root/exwm.el
diff options
context:
space:
mode:
Diffstat (limited to 'exwm.el')
-rw-r--r--exwm.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm.el b/exwm.el
index e60b341bc3a5..ac10247f523f 100644
--- a/exwm.el
+++ b/exwm.el
@@ -557,7 +557,7 @@
           (start-process exwm--server-name
                          nil
                          (car command-line-args) ;The executable file
-                         "-d" x-display-name
+                         "-d" (frame-parameter nil 'display)
                          "-Q"
                          (concat "--daemon=" exwm--server-name)
                          "--eval"