Skip to content

Commit

Permalink
Add more delay before resetting HDR
Browse files Browse the repository at this point in the history
  • Loading branch information
ClassicOldSong committed Sep 3, 2024
1 parent 49adbd0 commit da77362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ namespace proc {

#ifdef _WIN32
auto resetHDRThread = std::thread([this]{
std::this_thread::sleep_for(200ms);
std::this_thread::sleep_for(1s);
// Windows doesn't seem to be able to set HDR correctly when a display is just connected,
// so we have tooggle HDR for the virtual display manually.
std::string currentDisplay = this->display_name;
Expand Down

0 comments on commit da77362

Please sign in to comment.