Skip to content

Commit 8809746

Browse files
committed
Display (Linux): report displays of unknown connection state too
Ref: fastfetch-cli#1301
1 parent 5381395 commit 8809746

File tree

1 file changed

+1
-1
lines changed
  • src/detection/displayserver/linux

1 file changed

+1
-1
lines changed

src/detection/displayserver/linux/drm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ static const char* drmConnectLibdrm(FFDisplayServerResult* result)
257257
if (!conn)
258258
continue;
259259

260-
if (conn->connection == DRM_MODE_CONNECTED)
260+
if (conn->connection != DRM_MODE_DISCONNECTED)
261261
{
262262
drmModeEncoder* encoder = ffdrmModeGetEncoder(fd, conn->encoder_id);
263263
uint32_t width = 0, height = 0, refreshRate = 0;

0 commit comments

Comments
 (0)