From f115066e6864c937b4fee0975ce87657f30a6506 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Mon, 18 May 2020 15:46:33 -0700 Subject: [PATCH] Fixed bug in xwayland check --- meshcore/agentcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshcore/agentcore.c b/meshcore/agentcore.c index 5b97e08..87c8aa8 100644 --- a/meshcore/agentcore.c +++ b/meshcore/agentcore.c @@ -1415,7 +1415,7 @@ duk_ret_t ILibDuktape_MeshAgent_getRemoteDesktop(duk_context *ctx) { updateXAuth = Duktape_GetStringPropertyValue(ctx, -1, "xauthority", NULL); updateDisplay = Duktape_GetStringPropertyValue(ctx, -1, "display", NULL); - xdm = Duktape_GetStringPropertyValue(ctx, -1, "xdm", NULL); + xdm = Duktape_GetStringPropertyValue(ctx, -1, "xdm", ""); if (strcmp(xdm, "xwayland") == 0) {