mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
[FancyZones]Set FancyZones process and main thread priority to Normal (#28581)
This commit is contained in:
@@ -71,6 +71,11 @@ public:
|
||||
PostMessageW(m_window, WM_PRIV_LOCATIONCHANGE, NULL, NULL);
|
||||
})
|
||||
{
|
||||
if (!SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_NORMAL))
|
||||
{
|
||||
Logger::warn("Failed to set main thread priority");
|
||||
}
|
||||
|
||||
this->disableModuleCallback = std::move(disableModuleCallbackFunction);
|
||||
|
||||
FancyZonesSettings::instance().LoadSettings();
|
||||
|
||||
Reference in New Issue
Block a user