mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-16 04:06:46 +00:00
Warn when FindWindow needs to check other processes windows.
This commit is contained in:
parent
dae3f675e7
commit
2563b1b732
|
@ -983,7 +983,7 @@ static HWND WIN_CreateWindowEx( CREATESTRUCTA *cs, ATOM classAtom,
|
||||||
{
|
{
|
||||||
retvalue = 0;
|
retvalue = 0;
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cs->style & WS_VISIBLE) ShowWindow( hwnd, sw );
|
if (cs->style & WS_VISIBLE) ShowWindow( hwnd, sw );
|
||||||
|
@ -1562,6 +1562,10 @@ static HWND WIN_FindWindow( HWND parent, HWND child, ATOM className,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
retvalue = 0;
|
retvalue = 0;
|
||||||
|
/* In this case we need to check whether other processes
|
||||||
|
own a window with the given paramters on the Desktop,
|
||||||
|
but we don't, so let's at least warn about it */
|
||||||
|
FIXME("Returning 0 without checking other processes\n");
|
||||||
end:
|
end:
|
||||||
WIN_ReleaseWndPtr(pWnd);
|
WIN_ReleaseWndPtr(pWnd);
|
||||||
return retvalue;
|
return retvalue;
|
||||||
|
|
Loading…
Reference in a new issue