mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-10 05:13:38 +00:00
Fixed bug in xwayland check
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user