aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispnew.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 48a8bd283c..0f8f174eb7 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -6892,6 +6892,10 @@ init_display ()
}
#endif
+ /* If running as a daemon, no need to initialize any frames/terminal. */
+ if (is_daemon)
+ return;
+
/* If no window system has been specified, try to use the terminal. */
if (! isatty (0))
{