Skip to content

Commit

Permalink
steamcompmgr: Fix bHasOverlay check
Browse files Browse the repository at this point in the history
  • Loading branch information
misyltoad committed Aug 19, 2024
1 parent b768e8f commit 5f06922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/steamcompmgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7791,7 +7791,7 @@ steamcompmgr_main(int argc, char **argv)

// HACK: Disable tearing if we have an overlay to avoid stutters right now
// TODO: Fix properly.
static bool bHasOverlay = ( global_focus.overlayWindow && global_focus.overlayWindow->opacity ) ||
const bool bHasOverlay = ( global_focus.overlayWindow && global_focus.overlayWindow->opacity ) ||
( global_focus.externalOverlayWindow && global_focus.externalOverlayWindow->opacity ) ||
( global_focus.overrideWindow && global_focus.focusWindow && !global_focus.focusWindow->isSteamStreamingClient && global_focus.overrideWindow->opacity );

Expand Down

0 comments on commit 5f06922

Please sign in to comment.