From e596d76430f955efde05b9c2f017182da106fa99 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Thu, 25 Apr 2024 09:08:21 +0800 Subject: [PATCH] Display (Linux): don't use `*-unknown` as name --- src/detection/displayserver/linux/wayland/global-output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detection/displayserver/linux/wayland/global-output.c b/src/detection/displayserver/linux/wayland/global-output.c index c38ceee03..956afc376 100644 --- a/src/detection/displayserver/linux/wayland/global-output.c +++ b/src/detection/displayserver/linux/wayland/global-output.c @@ -118,7 +118,7 @@ void ffWaylandHandleGlobalOutput(WaylandData* wldata, struct wl_registry* regist rotation, display.edidName.length ? &display.edidName - : display.description.length + : display.description.length && !ffStrbufEndsWithS(&display.description, "-unknown") ? &display.description : &display.name, display.type,