From da77362774a85f9c083f1869b82e641e99a684e4 Mon Sep 17 00:00:00 2001 From: Yukino Song Date: Wed, 4 Sep 2024 06:27:22 +0800 Subject: [PATCH] Add more delay before resetting HDR --- src/process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process.cpp b/src/process.cpp index 437c9712..13d4a464 100644 --- a/src/process.cpp +++ b/src/process.cpp @@ -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;