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,