Skip to content

Commit

Permalink
WaylandBackend: Run UpdateVRRRefreshRate on Wayland_Surface_Leave
Browse files Browse the repository at this point in the history
  • Loading branch information
misyltoad committed Jul 18, 2024
1 parent 1ebfacb commit 37cc4d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Backends/WaylandBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,8 @@ namespace gamescope
void CWaylandPlane::Wayland_Surface_Leave( wl_surface *pSurface, wl_output *pOutput )
{
std::erase( m_pOutputs, pOutput );

UpdateVRRRefreshRate();
}

void CWaylandPlane::LibDecor_Frame_Configure( libdecor_frame *pFrame, libdecor_configuration *pConfiguration )
Expand Down

0 comments on commit 37cc4d3

Please sign in to comment.