mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
The DefWindowProc is not called anymore on WM_SETTINGCHANGE since it can cause crashes.
This commit is contained in:
@ -2519,7 +2519,9 @@ LRESULT CMeterWindow::OnSettingChange(WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
m_Monitors.count = 0;
|
||||
Refresh(false);
|
||||
return DefWindowProc(m_Window, m_Message, wParam, lParam);
|
||||
|
||||
// Commented: Calling DefWindowProc seems to cause crash sometimes
|
||||
return 0; // DefWindowProc(m_Window, m_Message, wParam, lParam);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user