mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed the crash problem when multiple Rainmeter instances are running and "show desktop" occured.
This commit is contained in:
@ -581,7 +581,8 @@ BOOL CALLBACK MyEnumWindowsProc(HWND hwnd, LPARAM lParam)
|
||||
|
||||
if (GetClassName(hwnd, className, 128) > 0 &&
|
||||
wcscmp(className, L"RainmeterMeterWindow") == 0 &&
|
||||
(Window = (CMeterWindow*)GetProp(hwnd, L"RAINMETER")))
|
||||
Rainmeter &&
|
||||
(Window = Rainmeter->GetMeterWindow(hwnd)))
|
||||
{
|
||||
if (Window->GetWindowZPosition() == ZPOSITION_ONDESKTOP)
|
||||
{
|
||||
|
Reference in New Issue
Block a user