Skip to content

Commit

Permalink
drm: Fix vrr_capable and other metadata not being updated
Browse files Browse the repository at this point in the history
Fixes Deck Dock VRR capable getting passed to Steam
  • Loading branch information
misyltoad committed Nov 29, 2023
1 parent a5a4e36 commit ce08920
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/drm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,10 @@ static bool refresh_state( drm_t *drm )
parse_edid(drm, conn);

if ( conn->name != nullptr )
continue;
{
free(conn->name);
conn->name = nullptr;
}

const char *type_str = drmModeGetConnectorTypeName(conn->connector->connector_type);
if (!type_str)
Expand Down

0 comments on commit ce08920

Please sign in to comment.