From e8daed41ea47760743f35ef5c928695c84cc6e7e Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Tue, 16 May 2023 18:52:23 -0700 Subject: [PATCH] UNIX-GETPARM(DISPLAY) should return "SDL" for SDL-based display, as it returns "X" for X11 --- src/uutils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/uutils.c b/src/uutils.c index 5a6607b..e3a58b2 100644 --- a/src/uutils.c +++ b/src/uutils.c @@ -219,6 +219,8 @@ LispPTR unix_getparm(LispPTR *args) { } else if (strcmp(envname, "DISPLAY") == 0) { #if defined(XWINDOW) envvalue = "X"; +#elif defined(SDL) + envvalue = "SDL"; #elif defined(DISPLAYBUFFER) envvalue = "BUFFERED"; #else