Skip to content

Commit

Permalink
steamcompmgr: Overwrite SDL_VIDEODRIVER before nested app launch
Browse files Browse the repository at this point in the history
  • Loading branch information
misyltoad committed Oct 9, 2023
1 parent 7b1d050 commit d1eb70b
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 @@ -6486,7 +6486,7 @@ spawn_client( char **argv )
{
// If we are not running with --expose-wayland
// set SDL_VIDEODRIVER back to x11.
setenv("SDL_VIDEODRIVER", "x11", 0);
setenv("SDL_VIDEODRIVER", "x11", 1);
}
execvp( argv[ 0 ], argv );

Expand Down

0 comments on commit d1eb70b

Please sign in to comment.