From be15644b960ffc707fadef78d2fd2a527d373414 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sat, 29 Jan 2022 11:42:17 +1100 Subject: [PATCH] Ignore setenv error --- v2/internal/frontend/desktop/linux/frontend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/internal/frontend/desktop/linux/frontend.go b/v2/internal/frontend/desktop/linux/frontend.go index 47cb30aa0..32bb76812 100644 --- a/v2/internal/frontend/desktop/linux/frontend.go +++ b/v2/internal/frontend/desktop/linux/frontend.go @@ -62,7 +62,7 @@ type Frontend struct { func NewFrontend(ctx context.Context, appoptions *options.App, myLogger *logger.Logger, appBindings *binding.Bindings, dispatcher frontend.Dispatcher) *Frontend { // Set GDK_BACKEND=x11 to prevent warnings - os.Setenv("GDK_BACKEND", "x11") + _ = os.Setenv("GDK_BACKEND", "x11") result := &Frontend{ frontendOptions: appoptions,