Skip to content

Commit

Permalink
Only change refresh rates on internal displays
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo authored and Samsagax committed Jul 11, 2024
1 parent 7865b34 commit 1dbcfed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Backends/DRMBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2152,7 +2152,7 @@ namespace gamescope
( m_Mutable.szMakePNP == "VLV"sv && m_Mutable.szModel == "Jupiter"sv ) ||
( m_Mutable.szMakePNP == "VLV"sv && m_Mutable.szModel == "Galileo"sv );

if ( g_customRefreshRates.size() > 0 ) {
if ( g_customRefreshRates.size() > 0 && GetScreenType() == GAMESCOPE_SCREEN_TYPE_INTERNAL ) {
m_Mutable.ValidDynamicRefreshRates = std::span(g_customRefreshRates);
return;
}
Expand Down

0 comments on commit 1dbcfed

Please sign in to comment.